test_system: make log() tolerate the format= form

This commit is contained in:
Brian Warner 2008-09-07 20:03:36 -07:00
parent af2231563e
commit 918b0543b9

View File

@ -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, res)
log.msg(msg, **kwargs)
def log(self, res, *args, **kwargs):
# print "MSG: %s RES: %s" % (msg, args)
log.msg(*args, **kwargs)
return res
def _do_publish_private(self, res):