]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_system: make log() tolerate the format= form
authorBrian Warner <warner@lothar.com>
Mon, 8 Sep 2008 03:03:36 +0000 (20:03 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 8 Sep 2008 03:03:36 +0000 (20:03 -0700)
src/allmydata/test/test_system.py

index f2803b209a6330e398c765365736fe8db8258510..e7d30ced35ce2526d413cc128c781b6cabcadeef 100644 (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):