def resolve(self, iface, path):
     objname = path.pop_str()
     if objname == ClientCodeRepository.class_name and iface is ClientCodeRepository.iface:
         return self._client_code_repository.resolve(path)
     if objname == ClientCodeRepositoryBrowser.class_name and iface is ClientCodeRepositoryBrowser.iface:
         return ClientCodeRepositoryBrowser(self._module_repository).resolve(path)
     path.raise_not_found()
예제 #2
0
 def resolve( self, iface, path ):
     fspath = path.pop_str()
     return self.open(fspath)