summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-02-24 22:02:50 -0800
committerVishvananda Ishaya <vishvananda@gmail.com>2011-02-24 22:02:50 -0800
commitbc7b96f11ee2ee949182f7128db6b9ff1866a247 (patch)
tree15d6264baeb192f5bfdd4b979e291df4518aeadc
parent24eb5c0b787d2031999aff21c471b0d9220083e3 (diff)
revert a few unnecessary changes to base.py
-rw-r--r--smoketests/base.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/smoketests/base.py b/smoketests/base.py
index bc9aebf6b..e9924f0ef 100644
--- a/smoketests/base.py
+++ b/smoketests/base.py
@@ -22,7 +22,6 @@ import httplib
import os
import paramiko
import sys
-import tempfile
import time
import unittest
from boto.ec2.regioninfo import RegionInfo
@@ -149,7 +148,6 @@ class SmokeTestCase(unittest.TestCase):
pass
def bundle_image(self, image, tempdir='/tmp', kernel=False):
- tempdir = tempfile.mkdtemp()
cmd = 'euca-bundle-image -i %s -d %s' % (image, tempdir)
if kernel:
cmd += ' --kernel true'
@@ -157,7 +155,7 @@ class SmokeTestCase(unittest.TestCase):
if status != 0:
print '%s -> \n %s' % (cmd, output)
raise Exception(output)
- return tempdir
+ return True
def upload_image(self, bucket_name, image, tempdir='/tmp'):
cmd = 'euca-upload-bundle -b '