[Zope3-checkins] SVN: Zope3/trunk/src/zope/wfmc/process.py More explict exception messsage

Julien Anguenot ja at nuxeo.com
Sat Jun 25 07:57:37 EDT 2005


Log message for revision 30918:
  More explict exception messsage

Changed:
  U   Zope3/trunk/src/zope/wfmc/process.py

-=-
Modified: Zope3/trunk/src/zope/wfmc/process.py
===================================================================
--- Zope3/trunk/src/zope/wfmc/process.py	2005-06-25 10:45:49 UTC (rev 30917)
+++ Zope3/trunk/src/zope/wfmc/process.py	2005-06-25 11:57:37 UTC (rev 30918)
@@ -335,8 +335,9 @@
         if definition.andJoinSetting:
             if transition in self.incoming:
                 raise interfaces.ProcessError(
-                    "Repeated incoming transition while waiting for and "
-                    "completion")
+                    "Repeated incoming %s with id='%s' "
+                    "while waiting for and completion"
+                    %(transition, transition.id))
             self.incoming += (transition, )
 
             if len(self.incoming) < len(definition.incoming):



More information about the Zope3-Checkins mailing list