Skip to content
Snippets Groups Projects
Commit 79ba9e62 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #8887: parset parser cannot handle unicode, so convert to string

parent 3a3ff830
No related branches found
No related tags found
No related merge requests found
...@@ -66,13 +66,13 @@ def resourceIndicatorsFromParset( parset ): ...@@ -66,13 +66,13 @@ def resourceIndicatorsFromParset( parset ):
""" Some conversion functions for common parameter-value types.""" """ Some conversion functions for common parameter-value types."""
def strvector(value): def strvector(value):
return PyParameterValue(value, True).getStringVector() return PyParameterValue(str(value), True).getStringVector()
def intvector(value): def intvector(value):
return PyParameterValue(value, True).getIntVector() return PyParameterValue(str(value), True).getIntVector()
def bool(value): def bool(value):
return PyParameterValue(value, True).getBool() return PyParameterValue(str(value), True).getBool()
# ===================================== # =====================================
# Parset meta info # Parset meta info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment