projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3267984
)
util: log: allow empty msgs (because downloader is using the "format" alternative...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 7 Jan 2009 18:54:11 +0000
(11:54 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 7 Jan 2009 18:54:11 +0000
(11:54 -0700)
src/allmydata/util/log.py
patch
|
blob
|
history
diff --git
a/src/allmydata/util/log.py
b/src/allmydata/util/log.py
index 8f17ab534ebc85195b764c25f3e32e6036060a02..fab22f6bce3108a0680b532dea7c32c9e79aba16 100644
(file)
--- a/
src/allmydata/util/log.py
+++ b/
src/allmydata/util/log.py
@@
-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)