[ZPT] CVS: Releases/Zope/lib/python/ZTUtils - Iterator.py:1.7.6.1

Evan Simpson evan@zope.com
Thu, 26 Sep 2002 13:32:30 -0400


Update of /cvs-repository/Releases/Zope/lib/python/ZTUtils
In directory cvs.zope.org:/tmp/cvs-serv16267/lib/python/ZTUtils

Modified Files:
      Tag: Zope-2_6-branch
	Iterator.py 
Log Message:
Fix Collector #573


=== Releases/Zope/lib/python/ZTUtils/Iterator.py 1.7 => 1.7.6.1 ===
--- Releases/Zope/lib/python/ZTUtils/Iterator.py:1.7	Wed Aug 14 18:10:12 2002
+++ Releases/Zope/lib/python/ZTUtils/Iterator.py	Thu Sep 26 13:32:29 2002
@@ -135,7 +135,7 @@
 
     def _supports(self, ob):
         try: ob[0]
-        except TypeError: return 0
+        except (TypeError, AttributeError): return 0
         except: pass
         return 1