[Zope-Checkins] CVS: Zope/lib/python/OFS - SimpleItem.py:1.99

Torped Strategy and Communications info@torped.se
Fri, 12 Apr 2002 15:15:28 -0400


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

Modified Files:
	SimpleItem.py 
Log Message:
Mistakenly commited to trunk. Reversing the change.

=== Zope/lib/python/OFS/SimpleItem.py 1.98 => 1.99 ===
                           'error_message': error_message}
 
-                try:
-                    _isinstance=isinstance(s, HTML)
-                except TypeError:
-                    _isinstance=None
-                
-                if _isinstance:
+                if isinstance(s, HTML):
                     v = s(client, REQUEST, **kwargs)
                 elif callable(s):
                     v = s(**kwargs)