[Zope-Coders] Re: SVN:
Zope/branches/ajung-epi-integration/lib/python/Products/PluginIndexes/PathIndex/
integrated ExtendedPathIndex functionality
Florent Guillaume
fg at nuxeo.com
Sat Apr 9 13:31:23 EDT 2005
Tres Seaver <tseaver at zope.com> 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.com
More information about the Zope-Coders
mailing list