[CMF-checkins] CVS: CMF/DCWorkflow - Worklists.py:1.8

Martijn Pieters mj@zope.com
Fri, 25 Oct 2002 11:49:47 -0400


Update of /cvs-repository/CMF/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv8881

Modified Files:
	Worklists.py 
Log Message:
getVarMatchKeys should always return a list (sortable). dict.keys() does
this already, but when self.var_matches is None, previously a tuple was
returned.


=== CMF/DCWorkflow/Worklists.py 1.7 => 1.8 ===
--- CMF/DCWorkflow/Worklists.py:1.7	Thu Oct 17 15:31:00 2002
+++ CMF/DCWorkflow/Worklists.py	Fri Oct 25 11:49:47 2002
@@ -77,7 +77,7 @@
         if self.var_matches:
             return self.var_matches.keys()
         else:
-            return ()
+            return []
 
     def getVarMatch(self, id):
         if self.var_matches: