#6417 Fix update of cvf::Vec3d from Python

This commit is contained in:
Gaute Lindkvist
2020-09-07 13:59:08 +02:00
parent 66c57cfae8
commit 2e1bf89bff
14 changed files with 43 additions and 34 deletions

View File

@@ -179,10 +179,10 @@ class PdmObjectBase:
if isinstance(value, PdmObjectBase):
return value.__class__.__name__ + ":" + str(value.address())
if isinstance(value, list):
list_of_strings = []
list_of_values = []
for val in value:
list_of_strings.append('\"' + self.__convert_to_grpc_value(val) + '\"')
return "[" + ", ".join(list_of_strings) + "]"
list_of_values.append(self.__convert_to_grpc_value(val))
return "[" + ", ".join(list_of_values) + "]"
return str(value)
def __get_grpc_value(self, camel_keyword):