diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 146: Doesn't really seem necessary to extend this to use LAVA_RESULT_DIR, and it can fail if that dir ...

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

Commit Message

Paul Larson Oct. 20, 2011, 8:42 p.m. UTC
------------------------------------------------------------
revno: 146
committer: Paul Larson <paul.larson@canonical.com>
branch nick: lava-dispatcher
timestamp: Thu 2011-10-20 15:40:04 -0500
message:
  Doesn't really seem necessary to extend this to use LAVA_RESULT_DIR, and it can fail if that dir doesn't exist already
modified:
  lava_dispatcher/android_client.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/android_client.py'
--- lava_dispatcher/android_client.py	2011-10-20 06:38:10 +0000
+++ lava_dispatcher/android_client.py	2011-10-20 20:40:04 +0000
@@ -34,8 +34,7 @@ 
     def __init__(self, context, config):
         LavaClient.__init__(self, context, config)
         # use a random result directory on android for they are using same host
-        self.android_result_dir = mkdtemp(
-            dir='/tmp/%s' % context.config.get("LAVA_RESULT_DIR"))
+        self.android_result_dir = mkdtemp()
         os.chmod(self.android_result_dir, 0755)
 
     def run_adb_shell_command(self, dev_id, cmd, response, timeout=-1):