Commit 5acf62d6 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files


branch : stable
parent 63ba0a669c4f
......@@ -222,9 +222,10 @@ class BaseTransition(AnyEntity):
if isinstance(conditions, basestring):
conditions = (conditions,)
for expr in conditions:
if isinstance(expr, str):
if isinstance(expr, basestring):
kwargs = {'expr': unicode(expr)}
elif isinstance(expr, dict):
assert isinstance(expr, dict)
kwargs = expr
kwargs['x'] = self.eid
kwargs.setdefault('mainvars', u'X')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment