Skip to content

Commit

Permalink
[#91068930] fixed pep8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
issam.zeibak committed Apr 9, 2015
1 parent 9d54a5e commit 807f8db
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions examples/updateTranslationJobs.py
Expand Up @@ -53,20 +53,27 @@

# Revise a group of jobs
gengo.updateTranslationJobs(action={
'action': 'revise',
'reason': 'This job is total bananas',
'job_ids': [{'job_id': 556, 'comment': 'Please change banana to gorilla'},
{'job_id': 553, 'comment': 'Please change banana to monkey'}],
'action': 'revise',
'reason': 'This job is total bananas',
'job_ids': [{'job_id': 556, 'comment': 'Please change banana to gorilla'},
{'job_id': 553, 'comment': 'Please change banana to monkey'}],
})

## Reject a group of jobs
# Reject a group of jobs
gengo.updateTranslationJobs(action={
'action': 'reject',
'job_ids': [{'job_id': 630, 'reason': 'quality', 'comment': 'This sentence should be in the past tense', 'captcha': 'AAAA'},
{'job_id': 631, 'reason': 'quality', 'comment': 'This should have be capitalized', 'captcha': 'BBBB'}],
'action': 'reject',
'job_ids': [{'job_id': 630,
'reason': 'quality',
'comment': 'This sentence should be in the past tense',
'captcha': 'AAAA'},
{'job_id': 631,
'reason': 'quality',
'comment': 'This should have be capitalized',
'captcha': 'BBBB'}
],
})

## Approve a group of jobs
# Approve a group of jobs
gengo.updateTranslationJobs(action={
'action': 'approve',
'job_ids': [{'job_id': 1077, 'comment': 'Keep up the good work'},
Expand Down

0 comments on commit 807f8db

Please sign in to comment.