aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'slave/autotua/__init__.py')
-rw-r--r--slave/autotua/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/slave/autotua/__init__.py b/slave/autotua/__init__.py
index 3ab594e..019733a 100644
--- a/slave/autotua/__init__.py
+++ b/slave/autotua/__init__.py
@@ -128,8 +128,9 @@ class Job:
def tidy(self):
print 'Tidying up..'
self.chroot.tidy()
- print 'The workdir has not been removed (default)'
def clean(self):
+ # Tidy up before cleaning
+ self.tidy()
shutil.rmtree(self.jobdir)
os.removedirs(osp.join(const.WORKDIR, self.maint))