From 918b0543b97cc12665ffa4b9681dc98e7f74d1f1 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 7 Sep 2008 20:03:36 -0700 Subject: [PATCH] test_system: make log() tolerate the format= form --- src/allmydata/test/test_system.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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): -- 2.45.2