27 Apr
2001
27 Apr
'01
11:30 a.m.
CW == "Chris Withers" <chrisw@nipltd.com> wrote:
CW> OK, the code around this is: def __repr__(self): return ("<%s %s at 0x%s>" % (self.__class__.__name__, `self.id()`, hex(id(self))[2:])) CW> I'm betting self.id isn't a methodm hence your error. CW> That said, I dont' really see the point of this whole CW> __repr__ method, maybe try removing it completely? w00p! you rock! thanks! this is what happens when you copy paste someone else's code and don't know wtf you are doing. just commented it out, and works like a charm! once again, loadsa thanks! -- best regards, tav tav@espnow.com