From cec1bf4be7efbf9c05769e8c854c65ec8532a148 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Fri, 21 Sep 2012 10:45:12 -0400 Subject: [PATCH] fix py25 syntax compatibility --- master/buildbot/test/unit/test_steps_slave.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/master/buildbot/test/unit/test_steps_slave.py b/master/buildbot/test/unit/test_steps_slave.py index f64becac3df..6cb624fdc12 100644 --- a/master/buildbot/test/unit/test_steps_slave.py +++ b/master/buildbot/test/unit/test_steps_slave.py @@ -307,7 +307,8 @@ def test_runRemoteCommandFailNoAbandon(self): cmd_args = ('foo', {'bar': False}) @defer.inlineCallbacks def testFunc(x): - res = yield x.runRemoteCommand(*cmd_args, abandonOnFailure=False) + res = yield x.runRemoteCommand(*cmd_args, + **dict(abandonOnFailure=False)) x.step_status.setText([str(res)]) self.setupStep(CompositeUser(testFunc)) self.expectCommands(Expect(*cmd_args)+1)