[Zope-Coders] Re: SVN: Zope/branches/ajung-epi-integration/lib/python/Products/PluginIndexes/PathIndex/ integrated ExtendedPathIndex functionality

Tres Seaver tseaver at zope.com
Fri Apr 8 10:28:36 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 ;).

Probably means we don't have a test which exercises the '__init__.py'
properly;  either that, or we can safely dump it.

Tres.
- --
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCVpUFGqWXf00rNCgRAn2UAKCVQg2kPUb1GDQZthMZyH7tEr5VbwCeKmfx
sPihy4yBATzgLr0epbZinI4=
=d8pv
-----END PGP SIGNATURE-----



More information about the Zope-Coders mailing list