Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/s/o/Source.Python-HEAD/addons/source-python/packages/source-python/listeners/tick/__init__.py   Source.Python(Download)
    def __init__(self, callback):
        '''Store the callback and register the tick listener'''
 
        # Log the Tick.__init__ message
        TickLogger.log_info('Tick.__init__ <{0}>'.format(callback))
 
        # Log the registering message
        TickLogger.log_info('Tick.__init__ - Registering')
 
        # Store the callback
        # Log the unregistering
        TickLogger.log_info(
            'Tick._unload_instance - Unregistering '
            '<{0}>'.format(self.callback))