mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-04 12:14:11 +00:00
test_system: make log() tolerate the format= form
This commit is contained in:
parent
af2231563e
commit
918b0543b9
@ -770,9 +770,9 @@ class SystemTest(SystemTestMixin, unittest.TestCase):
|
|||||||
d.addCallback(lambda subdir2: subdir2.add_file(u"mydata992", ut))
|
d.addCallback(lambda subdir2: subdir2.add_file(u"mydata992", ut))
|
||||||
return d
|
return d
|
||||||
|
|
||||||
def log(self, res, msg, **kwargs):
|
def log(self, res, *args, **kwargs):
|
||||||
# print "MSG: %s RES: %s" % (msg, res)
|
# print "MSG: %s RES: %s" % (msg, args)
|
||||||
log.msg(msg, **kwargs)
|
log.msg(*args, **kwargs)
|
||||||
return res
|
return res
|
||||||
|
|
||||||
def _do_publish_private(self, res):
|
def _do_publish_private(self, res):
|
||||||
|
Loading…
Reference in New Issue
Block a user