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:
parent
3f07003e6b
commit
f0506faa4b
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue