[Zope] method got multiple values for keyword argument?!

Chris Withers chrisw@nipltd.com
Wed, 30 Apr 2003 13:13:35 +0100


THerp@apriori.de wrote:
> I can't understand this, since the line where the error is reported, reads
> 
>         for p in self.orderedSubPages(self, viewmode='admin',
> invisibles=1):

that 'self' shouldn't be there ;-)

What you'are doing is the same as:

self.orderedSubPages(viewmode=self, viewmode='admin', invisibles=1)

cheers,

Chris