[CMF-checkins] CVS: CMF/CMFSetup - workflow.py:1.34
Yvo Schubbe
y.2005- at wcm-solutions.de
Thu Apr 7 12:39:18 EDT 2005
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()
More information about the CMF-checkins
mailing list