Esempio n. 1
0
 def _setup(self):
     if not self._ns_list or not self._ns_iterface_map:
         mngr = NamespaceManager()
         self._ns_list = mngr.get_all_namespaces()
         self._ns_iterface_map = mngr.get_namespace_interface_map()
Esempio n. 2
0
 def rediscover_namespaces(self):
     self._ns_list, self._ns_iterface_map = None, None
     mngr = NamespaceManager()
     mngr.discover_namespaces()
     self._ns_list = mngr.get_all_namespaces()
     self._ns_iterface_map = mngr.get_namespace_interface_map()