Muehlenhoff has uploaded a new change for review.
https://gerrit.wikimedia.org/r/282209
Change subject: Fix traceback in error message if update is deployed twice
......................................................................
Fix traceback in error message if update is deployed twice
Change-Id: I2d011a816e92cd62505e09767092fae9ebeb2907
---
M debian/changelog
M master/debdeploy
2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/debs/debdeploy
refs/changes/09/282209/1
diff --git a/debian/changelog b/debian/changelog
index f6f0f24..b57bb9e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@
* List all required restarts next to the new restarts introduced by
the library upgrade, useful when updating severals in one batch
and bundling the service restarts
+ * Fix traceback in error message if update is deployed twice
-- Moritz Muehlenhoff <[email protected]> Fri, 20 Nov 2015 12:50:01
+0100
diff --git a/master/debdeploy b/master/debdeploy
index 79486ce..ee13c59 100755
--- a/master/debdeploy
+++ b/master/debdeploy
@@ -263,7 +263,7 @@
sys.exit(1)
if joblogdb.does_job_exist(update_file, servergroup):
- print update_file, "was already deployed for this server group (", i,
"), if you want to rollback the change use the <rollback> command."
+ print update_file, "was already deployed for this server group (",
servergroup, "), if you want to rollback the change use the <rollback> command."
sys.exit(1)
for i in grains:
--
To view, visit https://gerrit.wikimedia.org/r/282209
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d011a816e92cd62505e09767092fae9ebeb2907
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/debdeploy
Gerrit-Branch: master
Gerrit-Owner: Muehlenhoff <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits