diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 537: merge the fix of error [FastModelTarget object has no attribute client]

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

Commit Message

Yongqin Liu Jan. 22, 2013, 2:38 a.m. UTC
Merge authors:
  Yongqin Liu (liuyq0307)
Related merge proposals:
  https://code.launchpad.net/~liuyq0307/lava-dispatcher/error-using-client-FastModelTarget/+merge/144205
  proposed by: Yongqin Liu (liuyq0307)
  review: Approve - Yongqin Liu (liuyq0307)
------------------------------------------------------------
revno: 537 [merge]
committer: Yongqin Liu <yongqin.liu@linaro.org>
branch nick: lava-dispatcher
timestamp: Tue 2013-01-22 10:37:37 +0800
message:
  merge the fix of error [FastModelTarget object has no attribute client]
modified:
  lava_dispatcher/device/fastmodel.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/device/fastmodel.py'
--- lava_dispatcher/device/fastmodel.py	2013-01-16 23:27:28 +0000
+++ lava_dispatcher/device/fastmodel.py	2013-01-22 02:14:27 +0000
@@ -200,7 +200,7 @@ 
         logging.info('launching fastmodel with command %r' % sim_cmd)
         self._sim_proc = logging_spawn(
             sim_cmd,
-            logfile=self.client.context.logfile_read,
+            logfile=self.context.logfile_read,
             timeout=1200)
         self._sim_proc.expect(self.PORT_PATTERN, timeout=300)
         self._serial_port = self._sim_proc.match.groups()[0]
@@ -217,7 +217,7 @@ 
         self.proc = logging_spawn(
             'telnet localhost %s' % self._serial_port,
             logfile=self._create_rtsm_ostream(
-                self.client.context.logfile_read),
+                self.context.logfile_read),
             timeout=1200)
         return self.proc