Update of /cvs-repository/CMF/CMFSetup
In directory cvs.zope.org:/tmp/cvs-serv15705/CMFSetup

Modified Files:
        workflow.py 
Log Message:
- get rid of 'not not' and types module
- import and whitespace cleanup


=== CMF/CMFSetup/workflow.py 1.33 => 1.34 ===
--- CMF/CMFSetup/workflow.py:1.33       Mon Jan 17 05:40:39 2005
+++ CMF/CMFSetup/workflow.py    Thu Apr  7 12:38:47 2005
@@ -1218,7 +1218,7 @@
                        )
 
         for k, v in s_info[ 'permissions' ].items():
-            s.setPermission( k, type( v ) is type( [] ), v )
+            s.setPermission( k, isinstance(v, list), v )
 
         gmap = s.group_roles = PersistentMapping()
 

_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins

Reply via email to