def __getattr__(self, attr): if attr.startswith("__"): raise AttributeError, attr try: return CommandContainer.__getattr__(self, attr) except AttributeError: try: return HardwareObjectNode.__getattr__(self, attr) except AttributeError: raise AttributeError, attr
def __getattr__(self, attr): if attr.startswith("__"): raise AttributeError(attr) try: return CommandContainer.__getattr__(self, attr) except AttributeError: try: return HardwareObjectNode.__getattr__(self, attr) except AttributeError: raise AttributeError(attr)
def __init__(self, rootName): HardwareObjectNode.__init__(self, rootName) CommandContainer.__init__(self)
def __init__(self, rootName): HardwareObjectNode.__init__(self, rootName) CommandContainer.__init__(self) self.connect_dict = {}