[CMF-checkins] CVS: CMF - States.py:1.2

shane@digicool.com shane@digicool.com
Mon, 11 Jun 2001 16:16:39 -0400 (EDT)


Update of /cvs-repository/CMF/DCWorkflow
In directory korak.digicool.com:/tmp/cvs-serv30400

Modified Files:
	States.py 
Log Message:
Sorted roles are easier to compare.



--- Updated File States.py in package CMF --
--- States.py	2001/06/11 19:33:47	1.1
+++ States.py	2001/06/11 20:16:39	1.2
@@ -213,6 +213,7 @@
             for r in self.getAvailableRoles():
                 if REQUEST.get('%s|%s' % (p, r), 0):
                     roles.append(r)
+            roles.sort()
             if not acquired:
                 roles = tuple(roles)
             pr[p] = roles