Commit 5dd97dc7 authored by Romain Courteaud's avatar Romain Courteaud

Return workflow state title by default.

Usefull for slave instance, as they never directly access the system.
parent 9d74853a
...@@ -63,7 +63,7 @@ if has_partition:\n ...@@ -63,7 +63,7 @@ if has_partition:\n
try:\n try:\n
d = memcached_dict[context.getReference()]\n d = memcached_dict[context.getReference()]\n
except KeyError:\n except KeyError:\n
result = "#error no data found for %s" % context.getReference()\n result = context.getSlapStateTitle()\n
else:\n else:\n
d = json.loads(d)\n d = json.loads(d)\n
result = d[\'text\']\n result = d[\'text\']\n
......
42 43
\ No newline at end of file \ No newline at end of file
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