I tried your suggestion and received error: Invalid search query "": 'NoneType' object is not iterable
On Wednesday, November 6, 2013 1:43:13 PM UTC-6, Alessandro Molina wrote: > > On Wed, Nov 6, 2013 at 8:00 PM, Stuart Zurcher > <[email protected]<javascript:> > > wrote: > >> Ok. used: >> >> >> >>> def _do_get_provider_count_and_objs(self, **kw): >>> kw.update({'form': 'platsreview'}) >> >> super(MyAdminConfig.className.table_filler_type, >>> self)._do_get_provider_count_and_objs(kw) >>> >> and got error: >> >> Invalid search query "": _do_get_provider_count_and_objs() takes exactly >>> 1 argument (2 given) >> >> >> As I am only saving 6 lines of code using super and they are working, >> I'm not spending much time on this. However, I am interested in how super >> can work as part of 'eternal learning'. >> > > Original implementation of _do_get_provider_count_and_objs accepts not > positional arguments, correct call would be > super(MyAdminConfig.className.table_filler_type, > self)._do_get_provider_count_and_objs(**kw) > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/groups/opt_out.

