diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 241: allow device_option to take an extra argument, as used in hard_reset (oops)

Message ID 20120308210016.18967.78642.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson March 8, 2012, 9 p.m. UTC
------------------------------------------------------------
revno: 241
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Fri 2012-03-09 09:58:27 +1300
message:
  allow device_option to take an extra argument, as used in hard_reset (oops)
modified:
  lava_dispatcher/client/base.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/client/base.py'
--- lava_dispatcher/client/base.py	2012-02-29 02:17:16 +0000
+++ lava_dispatcher/client/base.py	2012-03-08 20:58:27 +0000
@@ -276,8 +276,8 @@ 
         self.sio = SerialIO(sys.stdout)
         self.proc = None
 
-    def device_option(self, option_name):
-        return self.config.get(option_name)
+    def device_option(self, option_name, *extra):
+        return self.config.get(option_name, *extra)
 
     def device_option_int(self, option_name):
         return self.config.getint(option_name)