cubicweb/devtools/__init__.py
changeset 11774 51c160677afe
parent 11767 432f87a63057
child 12027 c62c80f20a82
equal deleted inserted replaced
11773:054a947b5415 11774:51c160677afe
   123     * cache are cleared
   123     * cache are cleared
   124     """
   124     """
   125     if repo._needs_refresh:
   125     if repo._needs_refresh:
   126         for cnxset in repo.cnxsets:
   126         for cnxset in repo.cnxsets:
   127             cnxset.reconnect()
   127             cnxset.reconnect()
   128         repo._type_extid_cache = {}
   128         repo._type_cache = {}
   129         repo.querier._rql_cache = {}
   129         repo.querier._rql_cache = {}
   130         repo.system_source.reset_caches()
   130         repo.system_source.reset_caches()
   131         repo._needs_refresh = False
   131         repo._needs_refresh = False
   132 
   132 
   133 
   133