Skip to content
Snippets Groups Projects
Commit 5cdd0d2e authored by Pieter Donker's avatar Pieter Donker
Browse files

Task #8815: now k,v value in adoptDict function of type string and accept unicode strings

parent 593b67cd
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ class parameterset(PyParameterSet):
def adoptDict(self, parms):
for (k,v) in parms.iteritems():
self.replace (k, v)
self.replace (str(k), str(v)) # k, v always type string
def get(self, key):
"""Get the parametervalue object of a parameter."""
......
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