def __eq__(self, other):
        if type(self) != type(other):
            return False
        return (self.endPoint == other.endPoint and
# FIXME module id can change...
#                self.moduleId == other.moduleId and
                self.moduleName == other.moduleName and
                self.name == other.name and
                self.signature == other.signature)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/vistrail/port.py/Port.__eq__/original