summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael W <baddaemon87@gmail.com>2020-04-07 11:28:57 +0200
committerMichael W <baddaemon87@gmail.com>2020-04-23 16:27:02 +0200
commit15e8b63286adc8d854102e76a9119cc14439e16b (patch)
tree2d471a7e34fa3a746f9610265ef768eba2751c29
parentf582e669ee1c73bace50fc51202a67dd4e44c692 (diff)
downloadcm_crowdin-15e8b63286adc8d854102e76a9119cc14439e16b.tar.gz
cm_crowdin-15e8b63286adc8d854102e76a9119cc14439e16b.tar.bz2
cm_crowdin-15e8b63286adc8d854102e76a9119cc14439e16b.zip
crowdin: Fix submitting
Change-Id: I21b8730c3893362bf4b74f919c11d7cfac19488f
-rwxr-xr-xcrowdin_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crowdin_sync.py b/crowdin_sync.py
index 924c7c1..d17bb41 100755
--- a/crowdin_sync.py
+++ b/crowdin_sync.py
@@ -313,7 +313,7 @@ def submit_gerrit(branch, username):
'--code-review +2',
'--submit', js['currentPatchSet']['revision']]
msg, code = run_subprocess(cmd, True)
- print('Submitting commit %s: ' % js[url], end='')
+ print('Submitting commit %s: ' % js['url'], end='')
if code != 0:
errorText = msg[1].replace('\n\n', '; ').replace('\n', '')
print('Failed: %s' % errorText)