Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/config.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-25 23:04:31 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-25 23:04:31 (GMT)
commit91ea798d316865135643a569799f96f98de68ef8 (patch)
tree0c22e6dee60cc9c72d7e35c3c153640f3f78c2eb /devbot/config.py
parenta0b65ee79f9f5abdee931aa02a3018cb308f6c51 (diff)
Split state out of build script so we can reuse it
Diffstat (limited to 'devbot/config.py')
-rw-r--r--devbot/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/devbot/config.py b/devbot/config.py
index 437bfe7..63140e8 100644
--- a/devbot/config.py
+++ b/devbot/config.py
@@ -201,3 +201,9 @@ def load_modules():
modules.append(Module(info))
return modules
+
+def clean():
+ try:
+ os.rmdir(home_dir)
+ except OSError:
+ pass