[CMF-checkins] CVS: CMF/CMFSetup - workflow.py:1.25.2.5
Yvo Schubbe
y.2005- at wcm-solutions.de
Thu Apr 7 12:38:17 EDT 2005
Update of /cvs-repository/CMF/CMFSetup
In directory cvs.zope.org:/tmp/cvs-serv14996/CMFSetup
Modified Files:
Tag: CMF-1_5-branch
workflow.py
Log Message:
- get rid of 'not not' and types module
- import and whitespace cleanup
=== CMF/CMFSetup/workflow.py 1.25.2.4 => 1.25.2.5 ===
--- CMF/CMFSetup/workflow.py:1.25.2.4 Mon Jan 17 05:40:01 2005
+++ CMF/CMFSetup/workflow.py Thu Apr 7 12:37:47 2005
@@ -1221,7 +1221,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