From: Brian Warner Date: Mon, 8 Sep 2008 03:03:36 +0000 (-0700) Subject: test_system: make log() tolerate the format= form X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=918b0543b97cc12665ffa4b9681dc98e7f74d1f1;p=tahoe-lafs%2Ftahoe-lafs.git test_system: make log() tolerate the format= form --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index f2803b20..e7d30ced 100644 --- 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, 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):