entities/wfobjs.py
branch3.5
changeset 2951 d0b77dd27740
parent 2948 d3cd8bd20ee5
child 2954 48507919b6e3
--- a/entities/wfobjs.py	Fri Aug 21 09:02:35 2009 +0200
+++ b/entities/wfobjs.py	Fri Aug 21 09:03:30 2009 +0200
@@ -120,9 +120,12 @@
     provides a specific may_be_fired method to check if the relation may be
     fired by the logged user
     """
-    id = 'Transition'
+    id = 'BaseTransition'
     fetch_attrs, fetch_order = fetch_config(['name'])
 
+    def __init__(self, *args, **kwargs):
+        raise Exception('should not be instantiated')
+
     def may_be_fired(self, eid):
         """return true if the logged user may fire this transition