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:
af22315
)
test_system: make log() tolerate the format= form
author
Brian Warner
<warner@lothar.com>
Mon, 8 Sep 2008 03:03:36 +0000
(20:03 -0700)
committer
Brian Warner
<warner@lothar.com>
Mon, 8 Sep 2008 03:03:36 +0000
(20:03 -0700)
src/allmydata/test/test_system.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_system.py
b/src/allmydata/test/test_system.py
index f2803b209a6330e398c765365736fe8db8258510..e7d30ced35ce2526d413cc128c781b6cabcadeef 100644
(file)
--- a/
src/allmydata/test/test_system.py
+++ b/
src/allmydata/test/test_system.py
@@
-770,9
+770,9
@@
class SystemTest(SystemTestMixin, unittest.TestCase):
d.addCallback(lambda subdir2: subdir2.add_file(u"mydata992", ut))
return d
- def log(self, res,
msg
, **kwargs):
- # print "MSG: %s RES: %s" % (msg,
re
s)
- log.msg(
msg
, **kwargs)
+ def log(self, res,
*args
, **kwargs):
+ # print "MSG: %s RES: %s" % (msg,
arg
s)
+ log.msg(
*args
, **kwargs)
return res
def _do_publish_private(self, res):