# HG changeset patch # User cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1251158945 0 # Node ID 3a268cf93752930583a0d06a3f8c8e8cff39e2da # Parent 7e57171052123d435147f065ca88cf5b87247a00 Fixed string representation for pychan.Spacer. diff -r 7e5717105212 -r 3a268cf93752 engine/extensions/pychan/widgets/layout.py --- 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 "" % (getattr(self.__parent,'name','None'),id(self)) + return "" % (getattr(self.parent,'name','None'),id(self)) def _getSize(self): self.size = self._size