[CMF-checkins] SVN: CMF/branches/1.4/DCWorkflow/Guard.py - Fix for NameError

Sidnei da Silva sidnei at enfoldsystems.com
Sat Sep 3 16:50:42 EDT 2005


Log message for revision 38292:
  
  - Fix for NameError
  

Changed:
  U   CMF/branches/1.4/DCWorkflow/Guard.py

-=-
Modified: CMF/branches/1.4/DCWorkflow/Guard.py
===================================================================
--- CMF/branches/1.4/DCWorkflow/Guard.py	2005-09-03 13:42:19 UTC (rev 38291)
+++ CMF/branches/1.4/DCWorkflow/Guard.py	2005-09-03 20:50:41 UTC (rev 38292)
@@ -120,7 +120,7 @@
         s = props.get('guard_roles', None)
         if s:
             res = 1
-            p = [ role.strip() for role in s.split(';') ]
+            r = [ role.strip() for role in s.split(';') ]
             self.roles = tuple(r)
         s = props.get('guard_expr', None)
         if s:



More information about the CMF-checkins mailing list