diff -r 298269ba818f -r 585f3c476a18 cwvreg.py --- a/cwvreg.py Mon Apr 06 10:08:35 2009 +0200 +++ b/cwvreg.py Mon Apr 06 14:27:52 2009 +0200 @@ -322,9 +322,9 @@ if vocab is not None: if callable(vocab): # list() just in case its a generator function - vocabfunc = lambda e: list(vocab(propkey, req)) + vocabfunc = lambda **kwargs: list(vocab(propkey, req)) else: - vocabfunc = lambda e: vocab + vocabfunc = lambda **kwargs: vocab w = StaticComboBoxWidget(self, 'EProperty', self.schema['value'], 'String', vocabfunc=vocabfunc, description=tr(pdef['help']), **attrs)