diff --git a/woven/utils.py b/woven/utils.py
index <HASH>..<HASH> 100644
--- a/woven/utils.py
+++ b/woven/utils.py
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 from __future__ import with_statement
 
-import os, sys, tempfile
+import os, shutil, sys, tempfile
 from functools import wraps
 from pkg_resources import parse_version
 
@@ -185,6 +185,10 @@ def parse_project_version(version=''):
    
     return project_version
 
+def rmtmpdirs():
+    for path in env.woventempdirs:
+        shutil.rmtree(path,ignore_errors=True)
+
 def root_domain():
     """
     Deduce the root domain name, usually a 'naked' domain but not necessarily.
added in a local /tmp dir cleanup function