Merge "Remove trailing spaces in debug log"

This commit is contained in:
Jenkins 2014-06-05 12:23:32 +00:00 committed by Gerrit Code Review
commit 8f635139fd
3 changed files with 5 additions and 5 deletions

View File

@ -633,7 +633,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):