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)
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)