[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/PathIndex - PathIndex.py:1.15.16.1
Andreas Jung
andreas@digicool.com
Wed, 30 Jan 2002 05:24:09 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/PathIndex
In directory cvs.zope.org:/tmp/cvs-serv20683/lib/python/Products/PluginIndexes/PathIndex
Modified Files:
Tag: Zope-2_5-branch
PathIndex.py
Log Message:
Collector #183: added additional check for object custom hook
=== Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py 1.15 => 1.15.16.1 ===
return 0
+
+ if not isinstance(path,StringType):
+ raise TypeError, "attribute/method must be string"
+
else:
try: