This repository has been archived by the owner. It is now read-only.

jobs.py #1

Open
gehan opened this Issue Jun 6, 2010 · 0 comments

Comments

Projects
None yet
1 participant

gehan commented Jun 6, 2010

Hey,

    params = [
        ('job[source_id]',      int(getattr(source, 'id', source))),
        ('job[destination_id]', int(getattr(source, 'id', source))),
        ('job[priority]',       int(priority)),
        ('job[use_file_cache]', use_file_cache and 'true' or 'false'),
    ]

Looks like you set destination the same as source here:
('job[destination_id]', int(getattr(source, 'id', source))),

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.