(self)
Handles all new tasks.
Handles all new tasks.
Handles all new tasks .
def handle_new_tasks(self):
        # type: () -> None
        '''
        Handles all new tasks.
        '''
        for task in self.tasker.get_new_tasks():
            # Log new task
            logging.info('Handling new task for {0}'.format(task.username))

            self._add_task(task)
def handle_new_tasks ( self ) : # type: () -> None for task in self . tasker . get_new_tasks ( ) : # Log new task logging . info ( 'Handling new task for {0}' . format ( task . username ) ) self . _add_task ( task )