tav wrote:
> 
>   File /home/zope/k1/lib/python/Products/XnetPage/XnetPage.py, line 811, in
> __repr__
>     (Object: test_page
> TypeError: call of non-function (type string)

OK, the code around this is:
    def __repr__(self):
        return ("<%s %s at 0x%s>"
                % (self.__class__.__name__, `self.id()`, hex(id(self))[2:]))

I'm betting self.id isn't a methodm hence your error.
That said, I dont' really see the point of this whole __repr__ method, maybe try
removing it completely?

cheers,

Chris

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to