[Pkg-escience-soc2009] [SCM] Tool for creating VM images. branch, master, updated. 06f8c717989bc8084454638873d9a981ffa644a1

David Wendt dckid at yahoo.com
Wed Jul 22 02:26:37 UTC 2009


The following commit has been merged in the master branch:
commit 8d556a015b9f444722efe5e5604140f10276a96b
Author: David Wendt <dckid at yahoo.com>
Date:   Tue Jul 21 17:16:43 2009 -0400

    Fix to the pause-on-failure that ensures that the patch to pause before umounting devices doesn't fail with python complaining that time hasn't been imported yet

diff --git a/VMBuilder/vm.py b/VMBuilder/vm.py
index 9fc248f..93b8214 100644
--- a/VMBuilder/vm.py
+++ b/VMBuilder/vm.py
@@ -509,7 +509,6 @@ class VM(object):
                 logging.debug("Oh, dear, an exception occurred")
                 #Option to make it easier to debug exceptions
                 if self.pause_on_failure:
-                    import time
                     logging.info("VMbuilder has been paused for 10 seconds. Press ^Z to suspend, or forever hold your peace...")
                     time.sleep(10)
 

-- 
Tool for creating VM images.



More information about the Pkg-escience-soc2009 mailing list