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 <>
Reviewed-by: default avatarIustin Pop <>
parent 5f6b0b71
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment