Remove trailing spaces in debug log
We had a few trailing spaces in debug log. My favorite pager (vim)
highlight trailing spaces with red characters which is slightly
annoying.
Change-Id: Ibd8aa4286d185b1b59d88352e68c6201a47e481d
diff --git a/tests/test_scheduler.py b/tests/test_scheduler.py
index f698d59..a953ffb 100755
--- a/tests/test_scheduler.py
+++ b/tests/test_scheduler.py
@@ -635,7 +635,7 @@
self.fake_gerrit.addEvent(B.addApproval('APRV', 1))
self.waitUntilSettled()
- self.log.debug("len %s " % self.gerrit._change_cache.keys())
+ self.log.debug("len %s" % self.gerrit._change_cache.keys())
# there should still be changes in the cache
self.assertNotEqual(len(self.gerrit._change_cache.keys()), 0)
diff --git a/zuul/launcher/gearman.py b/zuul/launcher/gearman.py
index b0d8546..ada9c70 100644
--- a/zuul/launcher/gearman.py
+++ b/zuul/launcher/gearman.py
@@ -436,7 +436,7 @@
def onWorkStatus(self, job):
data = getJobData(job)
- self.log.debug("Build %s update %s " % (job, data))
+ self.log.debug("Build %s update %s" % (job, data))
build = self.builds.get(job.unique)
if build:
# Allow URL to be updated
diff --git a/zuul/merger/merger.py b/zuul/merger/merger.py
index f150771..9e1f4c1 100644
--- a/zuul/merger/merger.py
+++ b/zuul/merger/merger.py
@@ -132,14 +132,14 @@
def createZuulRef(self, ref, commit='HEAD'):
repo = self.createRepoObject()
- self.log.debug("CreateZuulRef %s at %s " % (ref, commit))
+ self.log.debug("CreateZuulRef %s at %s" % (ref, commit))
ref = ZuulReference.create(repo, ref, commit)
return ref.commit
def push(self, local, remote):
repo = self.createRepoObject()
- self.log.debug("Pushing %s:%s to %s " % (local, remote,
- self.remote_url))
+ self.log.debug("Pushing %s:%s to %s" % (local, remote,
+ self.remote_url))
repo.remotes.origin.push('%s:%s' % (local, remote))
def update(self):