Mercurial > fife-parpg
changeset 341:3a268cf93752
Fixed string representation for pychan.Spacer.
author | cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 25 Aug 2009 00:09:05 +0000 |
parents | 7e5717105212 |
children | 7be6293f13d1 |
files | engine/extensions/pychan/widgets/layout.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/engine/extensions/pychan/widgets/layout.py Mon Aug 24 23:08:53 2009 +0000 +++ b/engine/extensions/pychan/widgets/layout.py Tue Aug 25 00:09:05 2009 +0000 @@ -281,10 +281,10 @@ self.size = 0 def __str__(self): - return "Spacer(parent.name='%s')" % getattr(self.__parent,'name','None') + return "Spacer(parent.name='%s')" % getattr(self.parent,'name','None') def __repr__(self): - return "<Spacer(parent.name='%s') at %x>" % (getattr(self.__parent,'name','None'),id(self)) + return "<Spacer(parent.name='%s') at %x>" % (getattr(self.parent,'name','None'),id(self)) def _getSize(self): self.size = self._size