Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/clean
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-25 23:09:53 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-25 23:09:53 (GMT)
commit15980e294fcb70ce8e04efb198b26f66c4241ecb (patch)
treeec4ad0e7313e4f80bf3d3ecdd1569899ce357a02 /commands/clean
parent91ea798d316865135643a569799f96f98de68ef8 (diff)
Create the logs dir rather than keeping it in git
Diffstat (limited to 'commands/clean')
-rwxr-xr-xcommands/clean9
1 files changed, 5 insertions, 4 deletions
diff --git a/commands/clean b/commands/clean
index fcfe193..2fa1d61 100755
--- a/commands/clean
+++ b/commands/clean
@@ -12,10 +12,6 @@ from devbot import state
from devbot import config
common.setup()
-build.clean()
-environ.clean()
-state.clean()
-config.clean()
os.chdir(config.logs_dir)
@@ -33,3 +29,8 @@ for filename in glob.glob("*.log"):
except OSError:
# Files migth not exist
pass
+
+build.clean()
+environ.clean()
+state.clean()
+config.clean()