bitbucket: Unify logging instructions

This commit is contained in:
Antoine R. Dumont (@ardumont) 2019-06-21 19:42:33 +02:00
parent 9aa8a6f7ae
commit 45428c25df
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8
2 changed files with 4 additions and 3 deletions

View file

@ -35,7 +35,7 @@ def full_bitbucket_relister(self, split=None, **lister_args):
random.shuffle(ranges)
promise = group(range_bitbucket_lister.s(minv, maxv, **lister_args)
for minv, maxv in ranges)()
self.log.debug('%s OK (spawned %s subtasks)' % (self.name, len(ranges)))
self.log.debug('%s OK (spawned %s subtasks)', (self.name, len(ranges)))
try:
promise.save() # so that we can restore the GroupResult in tests
except (NotImplementedError, AttributeError):