From 807f8db2ddd5c9078afebab73bb7d87cb5dd6e20 Mon Sep 17 00:00:00 2001 From: "issam.zeibak" Date: Thu, 9 Apr 2015 15:56:28 +0900 Subject: [PATCH] [#91068930] fixed pep8 errors --- examples/updateTranslationJobs.py | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/examples/updateTranslationJobs.py b/examples/updateTranslationJobs.py index d16ddbe..f27e0f4 100644 --- a/examples/updateTranslationJobs.py +++ b/examples/updateTranslationJobs.py @@ -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'},