(self, hierarchy)
return
Update the database using the given hierarchy.  
        This replaces the existing groups and entries.
Update the database using the given hierarchy.  
        This replaces the existing groups and entries.
Update the database using the given hierarchy . This replaces the existing groups and entries .
def update_by_hierarchy(self, hierarchy):
        '''
        Update the database using the given hierarchy.  
        This replaces the existing groups and entries.
        '''
        import hier
        collector = hier.CollectVisitor()
        hier.visit(hierarchy, collector)
        self.groups = collector.groups
        self.entries = collector.entries
        return
def update_by_hierarchy ( self , hierarchy ) : import hier collector = hier . CollectVisitor ( ) hier . visit ( hierarchy , collector ) self . groups = collector . groups self . entries = collector . entries return