pypet/environment.py
def _wrap_handling(kwargs):
    """ Starts running a queue handler and creates a log file for the queue."""
    _configure_logging(kwargs, extract=False)
    # Main job, make the listener to the queue start receiving message for writing to disk.
    handler=kwargs['handler']
    graceful_exit = kwargs['graceful_exit']
    # import cProfile as profile
    # profiler = profile.Profile()
    # profiler.enable()
    if graceful_exit:
        sigint_handling.start()
    handler.run()
def _wrap_handling(kwargs):
    _configure_logging(kwargs, extract=False)
    # Main job, make the listener to the queue start receiving message for writing to disk.
    handler=kwargs['handler']
    graceful_exit = kwargs['graceful_exit']
    # import cProfile as profile
    # profiler = profile.Profile()
    # profiler.enable()
    if graceful_exit:
        sigint_handling.start()
    handler.run()
def _wrap_handling ( kwargs ) : _configure_logging ( kwargs , extract = False ) # Main job, make the listener to the queue start receiving message for writing to disk. handler = kwargs [ 'handler' ] graceful_exit = kwargs [ 'graceful_exit' ] # import cProfile as profile # profiler = profile.Profile() # profiler.enable() if graceful_exit : sigint_handling . start ( ) handler . run ( )
Starts running a queue handler and creates a log file for the queue.
Starts running a queue handler and creates a log file for the queue .