should be outside the loop stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 18 May 2009 19:50:23 +0200
branchstable
changeset 1850 75661f0a691b
parent 1849 1901fa97f521
child 1853 b1e3d8355d65
should be outside the loop
devtools/devctl.py
--- a/devtools/devctl.py	Mon May 18 19:50:04 2009 +0200
+++ b/devtools/devctl.py	Mon May 18 19:50:23 2009 +0200
@@ -77,11 +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)
+    # 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