diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 170: silly mistake

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

Commit Message

Michael-Doyle Hudson Nov. 30, 2011, 11:45 p.m. UTC
------------------------------------------------------------
revno: 170
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Thu 2011-12-01 12:38:08 +1300
message:
  silly mistake
modified:
  lava_dispatcher/client/lmc_utils.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/lmc_utils.py'
--- lava_dispatcher/client/lmc_utils.py	2011-11-24 04:42:13 +0000
+++ lava_dispatcher/client/lmc_utils.py	2011-11-30 23:38:08 +0000
@@ -112,7 +112,7 @@ 
     logging.info(cmd)
     rc, output = getstatusoutput(cmd)
     if rc:
-        client.rmtree(tarball_dir)
+        shutil.rmtree(tarball_dir)
         raise RuntimeError("linaro-media-create failed: %s" % output)
     return image_file