def get_package_data(package):
    walk = [(dirpath.replace(package + os.sep, '', 1), filenames)
            for dirpath, dirnames, filenames in os.walk(package)
            if not os.path.exists(os.path.join(dirpath, '__init__.py'))]

    filepaths = []
    for base, filenames in walk:
        filepaths.extend([os.path.join(base, filename)
                          for filename in filenames])
    return {package: filepaths}
Takes a task from the task queue, tries to execute it and puts the result back in the result queue
dataset/ETHPy150Open dabapps/django-log-request-id/setup.py/get_package_data--crossover with--dataset/ETHPy150Open Koed00/django-q/django_q/cluster.py/worker