Skip to content

Commit

Permalink
fix py25 syntax compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Sep 21, 2012
1 parent 0dc3cb9 commit cec1bf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion master/buildbot/test/unit/test_steps_slave.py
Expand Up @@ -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)
Expand Down

0 comments on commit cec1bf4

Please sign in to comment.