[CMF-checkins] CVS: Products/DCWorkflow - DCWorkflow.py:1.24.4.3

Tres Seaver tseaver at zope.com
Wed Dec 8 11:53:06 EST 2004


Update of /cvs-repository/Products/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv11563/DCWorkflow

Modified Files:
      Tag: CMF-1_4-branch
	DCWorkflow.py 
Log Message:


  - DCWorkflow.DCWorkflow:  include transition ID in the dict for
    workflow actions (http://zope.org/Collectors/CMF/308).


=== Products/DCWorkflow/DCWorkflow.py 1.24.4.2 => 1.24.4.3 ===
--- Products/DCWorkflow/DCWorkflow.py:1.24.4.2	Thu Apr 22 13:47:58 2004
+++ Products/DCWorkflow/DCWorkflow.py	Wed Dec  8 11:53:06 2004
@@ -229,7 +229,8 @@
                         fmt_data._push(info)
                     searchres_len = lambda searchres=searchres: len(searchres)
                     fmt_data._push({'count': searchres_len})
-                    res.append((id, {'name': qdef.actbox_name % fmt_data,
+                    res.append((id, {'id': id,
+                                     'name': qdef.actbox_name % fmt_data,
                                      'url': qdef.actbox_url % fmt_data,
                                      'permissions': (),  # Predetermined.
                                      'category': qdef.actbox_category}))



More information about the CMF-checkins mailing list