Beispiel #1
0
 def get_realm_list(self):
     rs = ResourceSystem(self.env)
     return PrefixList([each + ":" for each in rs.get_known_realms()])
Beispiel #2
0
 def _complete_search_command(self, args):
     fts = FullTextSearch(self.env)
     if len(args) == 1:
         return PrefixList(fts.search_realms)