Skip to content
Snippets Groups Projects
Commit e1ea54e9 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

workerpool: Fix typo


A call to logging.debug was missing an argument, leading to complaints
on stderr at runtime.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 5f6b0b71
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,8 @@ class BaseWorker(threading.Thread, object):
# Use same priority
defer.priority = priority
logging.debug("Deferring task %r, new priority %s", defer.priority)
logging.debug("Deferring task %r, new priority %s",
args, defer.priority)
assert self._HasRunningTaskUnlocked()
except: # pylint: disable-msg=W0702
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment