def refresh(self, tkroot=None): for root_rep in self.root['root_reps'].reps: tree_parse.parse(root_rep.path(), root_rep, refresh=True, tkroot=tkroot, db=self) self.sort_by_refs(root_rep)
def parse(string): return tree_parse.parse(string)