From 751ff0c293d457d85e22a3c087b7dc137934e046 Mon Sep 17 00:00:00 2001
From: Leonardo Rochael Almeida <leonardo@nexedi.com>
Date: Fri, 8 Apr 2011 08:02:57 +0000
Subject: [PATCH] thinko

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45214 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/SimulationMovement.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/Document/SimulationMovement.py b/product/ERP5/Document/SimulationMovement.py
index af031a32c6..2736c981da 100644
--- a/product/ERP5/Document/SimulationMovement.py
+++ b/product/ERP5/Document/SimulationMovement.py
@@ -303,7 +303,8 @@ class SimulationMovement(PropertyRecordableMixin, Movement, ExplainableMixin):
       # XXX-Leo we could just return self.getTradePhaseList() for
       # backward compatibility
       from Products.ERP5Type.Errors import SimulationError
-      raise SimulationError('No Business Link Causality for %r. Cannot enumerate successor trade_phases')
+      raise SimulationError('No Business Link Causality for %r. Cannot enumerate successor trade_phases.' % 
+                            (self,))
     # from this Business Process, get the Business Links which
     # predecessor state match the successor state of our Business Link
     # causality
-- 
2.30.9