devtools/devctl.py
branchstable
changeset 1850 75661f0a691b
parent 1774 4f4e0c6682e5
child 1898 39b37f90a8a4
equal deleted inserted replaced
1849:1901fa97f521 1850:75661f0a691b
    75             continue
    75             continue
    76         for path in config.vregistry_path():
    76         for path in config.vregistry_path():
    77             if mod.__file__.startswith(path):
    77             if mod.__file__.startswith(path):
    78                 del sys.modules[name]
    78                 del sys.modules[name]
    79                 break
    79                 break
    80         # fresh rtags
    80     # fresh rtags
    81         from cubicweb import rtags
    81     from cubicweb import rtags
    82         from cubicweb.web import uicfg
    82     from cubicweb.web import uicfg
    83         rtags.RTAGS[:] = []
    83     rtags.RTAGS[:] = []
    84         reload(uicfg)
    84     reload(uicfg)
    85 
    85 
    86 def generate_schema_pot(w, cubedir=None):
    86 def generate_schema_pot(w, cubedir=None):
    87     """generate a pot file with schema specific i18n messages
    87     """generate a pot file with schema specific i18n messages
    88 
    88 
    89     notice that relation definitions description and static vocabulary
    89     notice that relation definitions description and static vocabulary