Fix expiration command in expire_old_reviews.

* jeepyb/cmd/expire_old_reviews.py(expire_patch_set): The command
format string passed to Gerrit's SSH CLI was missing a space between
the options. Regression introduced when or before this script was
pulled out of opestack-ci-puppet, but fixed now.

Change-Id: I96ff9527d635555e1ee2c4110544c266a745f42f
Reviewed-on: https://review.openstack.org/18541
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Jeremy Stanley
2012-12-21 17:18:34 +00:00
committed by Jenkins
parent 4f34b77b97
commit 4e5ca4c743

View File

@@ -37,7 +37,7 @@ def expire_patch_set(ssh, patch_id, patch_subject, has_negative):
message = ('code review expired after 2 weeks of no activity,'
' it can be restored using the \`Restore Change\` button '
' under the Patch Set on the web interface')
command = ('gerrit review --abandon'
command = ('gerrit review --abandon '
'--message="{message}" {patch_id}').format(
message=message,
patch_id=patch_id)