[Zope-Checkins] CVS: Zope/lib/python/ZTUtils - Iterator.py:1.7.4.1

Chris McDonough chrism@zope.com
Sat, 28 Sep 2002 21:41:10 -0400


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

Modified Files:
      Tag: chrism-install-branch
	Iterator.py 
Log Message:
Merge chrism-install-branch with head.  Apologies for the spew.


=== Zope/lib/python/ZTUtils/Iterator.py 1.7 => 1.7.4.1 ===
--- Zope/lib/python/ZTUtils/Iterator.py:1.7	Wed Aug 14 18:10:12 2002
+++ Zope/lib/python/ZTUtils/Iterator.py	Sat Sep 28 21:40:39 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