mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 11:16:24 +00:00
util: log: allow empty msgs (because downloader is using the "format" alternative with no "msg" argument)
This commit is contained in:
parent
3267984fa9
commit
c01cfc0035
@ -57,5 +57,5 @@ class PrefixingLogMixin(nummedobj.NummedObj, LogMixin):
|
||||
else:
|
||||
self._prefix = "%s: " % (self.__repr__(),)
|
||||
|
||||
def log(self, msg, facility=None, parent=None, *args, **kwargs):
|
||||
def log(self, msg="", facility=None, parent=None, *args, **kwargs):
|
||||
return LogMixin.log(self, self._prefix + msg, facility, parent, *args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user