Beispiel #1
0
 def scan_children(self, nodename, attributes=None, root=None):
     if self.locked and nodename == "entry" and attributes is not None and attributes.keys(
     ) == ["id"]:
         return EnvBase.get_children(self,
                                     name=nodename,
                                     attributes=attributes,
                                     root=root)
     else:
         return EntryID.scan_children(self,
                                      nodename,
                                      attributes=attributes,
                                      root=root)
Beispiel #2
0
 def scan_children(self, nodename, attributes=None, root=None):
     if self.locked and nodename == "entry" and attributes is not None and attributes.keys() == ["id"]:
         return EnvBase.get_children(self, name=nodename, attributes=attributes, root=root)
     else:
         return EntryID.scan_children(self, nodename, attributes=attributes, root=root)