Commit 096744c3 authored by Arnaud Fontaine's avatar Arnaud Fontaine

squash! ERP5Workflow: Remove unused variable_default_value...

squash! ERP5Workflow: Remove unused variable_default_value (variable_default_expression should be used instead).
parent 63ebb7b6
...@@ -1124,7 +1124,7 @@ def convertToERP5Workflow(self, temp_object=False): ...@@ -1124,7 +1124,7 @@ def convertToERP5Workflow(self, temp_object=False):
# default_expr has precedence over default_value if defined... # default_expr has precedence over default_value if defined...
elif variable_definition.default_value: elif variable_definition.default_value:
if '/' not in variable_definition.default_value: if '/' not in variable_definition.default_value:
default_value = 'python: %s' % variable_definition.default_value default_value = "python: '%s'" % variable_definition.default_value
else: else:
default_value = variable_definition.default_value default_value = variable_definition.default_value
variable.setVariableDefaultExpression(default_value) variable.setVariableDefaultExpression(default_value)
......
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