Awight has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/346585 )
Change subject: Strip extra newline after job status
......................................................................
Strip extra newline after job status
Change-Id: Ifc95c860d8a2b84f0de03c1d6b3871531e29e0a3
---
M bin/run-job
1 file changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/process-control
refs/changes/85/346585/1
diff --git a/bin/run-job b/bin/run-job
index 40a7bbd..1c070fe 100755
--- a/bin/run-job
+++ b/bin/run-job
@@ -16,7 +16,7 @@
message = "{job} - {human_name}".format(job=job_name,
human_name=job.name)
status = runner.JobRunner(job).status()
if status is not None:
- message += " " + yaml.dump(status)
+ message += " " + yaml.dump(status).strip()
except AssertionError:
message = "{job} ***Invalid
configuration***".format(job=job_name)
print(message)
--
To view, visit https://gerrit.wikimedia.org/r/346585
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc95c860d8a2b84f0de03c1d6b3871531e29e0a3
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/process-control
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits