
fg at nuxeo
Apr 9, 2005, 10:31 AM
Post #2 of 2
(1016 views)
Permalink
|
|
Re: Re: SVN: Zope/branches/ajung-epi-integration/lib/python/Products/PluginIndexes/PathIndex/ integrated ExtendedPathIndex functionality
[In reply to]
|
|
Tres Seaver <tseaver [at] zope> wrote: > Andreas Jung wrote: > > Modified: Zope/branches/ajung-epi-integration/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py > > =================================================================== > > --- Zope/branches/ajung-epi-integration/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py > 2005-04-08 14:07:42 UTC (rev 29911) > > +++ Zope/branches/ajung-epi-integration/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py > 2005-04-08 14:15:25 UTC (rev 29912) > > @@ -55,9 +55,9 @@ > > 'help': ('PathIndex','PathIndex_Settings.stx')}, > > ) > > > > - query_options = ("query", "level", "operator") > > + query_options = ("query", "level", "operator", "depth", "navtree") > > > > - def __init__(self,id,caller=None): > > + def ___init__(self,id,caller=None): > > self.id = id > > self.operators = ('or','and') > > self.useOperator = 'or' > > Typo? '___init__' isn't majyk in Python, last I checked ;). There's a proper __init__ later on in the file, and it calls ___init__. But yeah that's a really badly chosen name. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg [at] nuxeo _______________________________________________ Zope-Coders mailing list Zope-Coders [at] zope http://mail.zope.org/mailman/listinfo/zope-coders
|