[FIX] base_gengo: syntax error fixed

bzr revid: qdp-launchpad@openerp.com-20120829101003-3t7zpydsg6lk3ap1
This commit is contained in:
Quentin (OpenERP)
2012-08-29 12:10:03 +02:00
parent 55cc723fc1
commit f1febea2a3
@@ -65,7 +65,7 @@ CRON_VALS = {
'numbercall': -1,
'model': "'base.update.translations'",
'function': "",
'args': "'(%s,)'" %s GENGO_DEFAULT_LIMIT,
'args': "'(%s,)'" % (str(GENGO_DEFAULT_LIMIT)),
}
@@ -244,7 +244,7 @@ class base_update_translation(osv.osv_memory):
continue
if job_response['response']['job']['status'] == 'approved':
vals.update({'state': 'translated',
'value': job_response['response']['job']['body_tgt'])
'value': job_response['response']['job']['body_tgt']})
up_term += 1
job_comment = gengo.getTranslationJobComments(id=term.job_id)
if job_comment['opstat']=='ok':