[CMF-checkins] CVS: CMF/CMFCore - DynamicType.py:1.19

Yvo Schubbe schubbe at web.de
Tue Sep 30 04:01:40 EDT 2003


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv17287/CMFCore

Modified Files:
	DynamicType.py 
Log Message:
fixed bad coding style

=== CMF/CMFCore/DynamicType.py 1.18 => 1.19 ===
--- CMF/CMFCore/DynamicType.py:1.18	Mon Jun 30 09:45:52 2003
+++ CMF/CMFCore/DynamicType.py	Tue Sep 30 04:01:39 2003
@@ -107,10 +107,10 @@
         ti = self.getTypeInfo()
         path = ti and ti.getMethodPath(key) or None
         if path:
-            if key is not '(Default)':
+            if key != '(Default)':
                 stack.pop()
             for id in path:
-                if id is not '(Default)':
+                if id != '(Default)':
                     stack.append(id)
 
 InitializeClass(DynamicType)




More information about the CMF-checkins mailing list