/usr/lib/python2.7/dist-packages/framework/subsystems/ogsmd/gsm/callback.py is in fso-frameworkd 0.10.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | from ogsmd.gsm.decor import logged
class SimpleCallback( object ):
@logged
def __init__( self, callback, *args ):
self._callback = callback
self._args = args
@logged
def __call__( self, *args ):
apply( self._callback, self._args, {} )
@logged
def __del__( self ):
pass
|