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:
72268f2
)
checker: make the log() function of SimpleCHKFileVerifier compatible with the log...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Mon, 25 Aug 2008 21:44:07 +0000
(14:44 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Mon, 25 Aug 2008 21:44:07 +0000
(14:44 -0700)
src/allmydata/immutable/checker.py
patch
|
blob
|
history
diff --git
a/src/allmydata/immutable/checker.py
b/src/allmydata/immutable/checker.py
index fa1d6afb01681d6bc3ce6ad67aa9ea447e998121..dfb912c115b47f1c9df82e58836bcb23973d7e45 100644
(file)
--- a/
src/allmydata/immutable/checker.py
+++ b/
src/allmydata/immutable/checker.py
@@
-243,12
+243,12
@@
class SimpleCHKFileVerifier(download.FileDownloader):
num = self._client.log("SimpleCHKFileVerifier(%s): starting" % prefix)
self._log_number = num
- def log(self, msg,
parent=None
):
- if
parent is None
:
-
parent
= self._log_number
+ def log(self, msg,
*args, **kwargs
):
+ if
not kwargs.get('parent')
:
+
kwargs['parent']
= self._log_number
return self._client.log("SimpleCHKFileVerifier(%s): %s"
% (self._log_prefix, msg),
-
parent=parent
)
+
*args, **kwargs
)
def start(self):