On Wed, 2002-08-14 at 09:18, R. David Murray wrote:
> On 14 Aug 2002, Axel Bock wrote:
> > I tried the suggestion of Leonardo, but I got one simple - but
> > nonetheless annoying - problem right now:
> Simple enough for the zope list rather than zope-dev <grin>.
> > I defined an SQL method with the two parameters title and plicense.
> > Now if I call self.save_license(something, something_else) he keeps
> > complaining
> >     "missing input variable plicense",
> > which I truly do not understand. (I even named the variables in the
> > function call title and plicense, and nothing happened!).
> self.save_license(title=something,plicense=something_else)

Yep, sorry, my mistake. I didn't actually try my example, and so I
forgot that sql methods always need named parameters.

Ideas don't stay in some minds very long because they don't like
solitary confinement.

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

Reply via email to