don't use global _
authorsylvain.thenault@logilab.fr
Wed, 14 Jan 2009 11:48:24 +0100
changeset 399 8df3b190275b
parent 398 cc16ee7d2d86
child 400 b05a36678265
don't use global _
web/views/boxes.py
--- a/web/views/boxes.py	Tue Jan 13 17:58:58 2009 +0100
+++ b/web/views/boxes.py	Wed Jan 14 11:48:24 2009 +0100
@@ -105,6 +105,7 @@
 
     def workflow_actions(self, entity, box):
         if 'in_state' in entity.e_schema.subject_relations() and entity.in_state:
+            _ = self.req._
             state = entity.in_state[0]
             transitions = list(state.transitions(entity))
             if transitions: