Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/config.py
diff options
context:
space:
mode:
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