Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/clean.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-28 21:20:08 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-28 21:20:08 (GMT)
commit39ba6c7842073a2db94a0022e556c71518f06da2 (patch)
treef28ed67425546d1b9cda4f3aeb62d90ee891a81b /devbot/clean.py
parenta76f5c9526141437d882d001b2b45e3a38920442 (diff)
Try to get steps ordering right
Diffstat (limited to 'devbot/clean.py')
-rw-r--r--devbot/clean.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/devbot/clean.py b/devbot/clean.py
index 7601382..8d0c7a0 100644
--- a/devbot/clean.py
+++ b/devbot/clean.py
@@ -3,7 +3,11 @@ from devbot import logs
from devbot import state
-def clean():
+def clean(build_only=False):
+ print "\n= Clean =\n"
+
build.clean()
- logs.clean()
- state.clean()
+ state.clean(build_only=build_only)
+
+ if not build_only:
+ logs.clean()