[CMF-checkins] CVS: CMF/DCWorkflow - Guard.py:1.11
Yvo Schubbe
y.2004_ at wcm-solutions.de
Thu Feb 12 03:58:35 EST 2004
Update of /cvs-repository/CMF/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv2379/DCWorkflow
Modified Files:
Guard.py
Log Message:
copy 'n' paste cleanup: use better names
=== CMF/DCWorkflow/Guard.py 1.10 => 1.11 ===
--- CMF/DCWorkflow/Guard.py:1.10 Thu Feb 12 03:51:21 2004
+++ CMF/DCWorkflow/Guard.py Thu Feb 12 03:58:34 2004
@@ -123,12 +123,12 @@
s = props.get('guard_roles', None)
if s:
res = 1
- r = [ permission.strip() for permission in s.split(';') ]
+ r = [ role.strip() for role in s.split(';') ]
self.roles = tuple(r)
s = props.get('guard_groups', None)
if s:
res = 1
- g = [ permission.strip() for permission in s.split(';') ]
+ g = [ group.strip() for group in s.split(';') ]
self.groups = tuple(g)
s = props.get('guard_expr', None)
if s:
More information about the CMF-checkins
mailing list