[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/PathIndex - PathIndex.py:1.16

Andreas Jung andreas@digicool.com
Wed, 30 Jan 2002 05:25:15 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/PathIndex
In directory cvs.zope.org:/tmp/cvs-serv20923

Modified Files:
	PathIndex.py 
Log Message:
Collector #183: added additional check for custom object hook


=== Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py 1.15 => 1.16 ===
                 return 0
 
+
+            if not isinstance(path,StringType):
+                raise TypeError, "attribute/method must be string"
+
         else:             
 
             try: