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:
22f9e8c
)
mutable.py: one more logging fix
author
Brian Warner
<warner@allmydata.com>
Wed, 19 Dec 2007 06:42:41 +0000
(23:42 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 19 Dec 2007 06:42:41 +0000
(23:42 -0700)
src/allmydata/mutable.py
patch
|
blob
|
history
diff --git
a/src/allmydata/mutable.py
b/src/allmydata/mutable.py
index 5d785a0e405890ec52138e96c4be9543a2ca1d73..49493255cc894e6f38ea2883d764fea68fe0ae04 100644
(file)
--- a/
src/allmydata/mutable.py
+++ b/
src/allmydata/mutable.py
@@
-714,10
+714,12
@@
class Publish:
num = self._node._client.log("Publish(%s): starting" % prefix)
self._log_number = num
- def log(self, msg):
+ def log(self, msg
, parent=None
):
prefix = self._log_prefix
+ if parent is None:
+ parent = self._log_number
num = self._node._client.log("Publish(%s): %s" % (prefix, msg),
- parent=
self._log_number
)
+ parent=
parent
)
return num
def log_err(self, f):