changeset 80:1661f5bb5250

wipe a virtualenv before we make it
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 11 Jan 2011 17:21:58 -0800
parents 27f8f172d900
children 550f9081664a
files autobot/process/factory.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/process/factory.py	Tue Jan 11 15:46:30 2011 -0800
+++ b/autobot/process/factory.py	Tue Jan 11 17:21:58 2011 -0800
@@ -29,6 +29,10 @@
     """
     BuildFactory.__init__(self)
 
+    # wipe any vesitages
+    self.addStep(ShellCommand(command=['rm', '-rf', name]))
+
+    # create a virtualenv
     self.addStep(CreateVirtualenv(name))
 
     # set properities related to the virtualenv: