harvester_odt/jobcontrol_jobs.py
def debugging_job(storage):
    """
    Job to be used for debugging purposes.
    """

    storage = get_storage_from_arg(storage)

    with jobcontrol_integration():
        report_progress(None, 0, 1)

    job = execution_context.current_job
    logger.debug('Running job: {0!r}'.format(job))

    deps = list(job.get_deps())
    logger.debug('Found {0} dependencies'.format(len(deps)))

    for dep in deps:
        build = dep.get_latest_successful_build()
        if build is None:
            logger.debug('Dependency {0!r} has no builds'
                         .format(dep))
        else:
            logger.debug('Dependency {0!r} latest build returned {1!r}'
                         .format(dep, build['retval']))

    with jobcontrol_integration():
        report_progress(None, 1, 1)

    return storage

    Job to be used for debugging purposes.
    
Job to be used for debugging purposes.
Job to be used for debugging purposes .
def debugging_job(storage):
    storage = get_storage_from_arg(storage)
    with jobcontrol_integration():
        report_progress(None, 0, 1)
    job = execution_context.current_job
    logger.debug('Running job: {0!r}'.format(job))
    deps = list(job.get_deps())
    logger.debug('Found {0} dependencies'.format(len(deps)))
    for dep in deps:
        build = dep.get_latest_successful_build()
        if build is None:
            logger.debug('Dependency {0!r} has no builds'
                         .format(dep))
        else:
            logger.debug('Dependency {0!r} latest build returned {1!r}'
                         .format(dep, build['retval']))
    with jobcontrol_integration():
        report_progress(None, 1, 1)
    return storage
def debugging_job ( storage ) : storage = get_storage_from_arg ( storage ) with jobcontrol_integration ( ) : report_progress ( None , 0 , 1 ) job = execution_context . current_job logger . debug ( 'Running job: {0!r}' . format ( job ) ) deps = list ( job . get_deps ( ) ) logger . debug ( 'Found {0} dependencies' . format ( len ( deps ) ) ) for dep in deps : build = dep . get_latest_successful_build ( ) if build is None : logger . debug ( 'Dependency {0!r} has no builds' . format ( dep ) ) else : logger . debug ( 'Dependency {0!r} latest build returned {1!r}' . format ( dep , build [ 'retval' ] ) ) with jobcontrol_integration ( ) : report_progress ( None , 1 , 1 ) return storage
Job to be used for debugging purposes.
Job to be used for debugging purposes .
"""
    Job to be used for debugging purposes.
    """
storage