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
This commit is contained in:
Antoine Musso 2014-06-03 15:03:38 +02:00
parent 3f07003e6b
commit f0506faa4b
3 changed files with 5 additions and 5 deletions

View File

@ -635,7 +635,7 @@ class TestScheduler(ZuulTestCase):
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)

View File

@ -436,7 +436,7 @@ class Gearman(object):
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

View File

@ -132,14 +132,14 @@ class Repo(object):
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):