devtools/devctl.py
branchtls-sprint
changeset 1769 fb91d2b8a441
parent 1739 78b0819162a8
child 1770 8bd788149f85
--- a/devtools/devctl.py	Wed May 13 08:41:23 2009 +0200
+++ b/devtools/devctl.py	Wed May 13 09:09:22 2009 +0200
@@ -77,6 +77,11 @@
             if mod.__file__.startswith(path):
                 del sys.modules[name]
                 break
+        # fresh rtags
+        from cubicweb import rtags
+        from cubicweb.web import uicfg
+        rtags.RTAGS[:] = []
+        reload(uicfg)
 
 def generate_schema_pot(w, cubedir=None):
     """generate a pot file with schema specific i18n messages