#6322 Fix stringification of pointers to objects on python side.

This commit is contained in:
Kristian Bendiksen 2020-08-24 09:41:06 +02:00
parent 4a8c4fd68f
commit a659d065ad

View File

@ -176,7 +176,7 @@ class PdmObjectBase:
if value:
return "true"
return "false"
if isinstance(value, PdmObject_pb2.PdmObject):
if isinstance(value, PdmObjectBase):
return value.__class__.__name__ + ":" + str(value.address())
if isinstance(value, list):
list_of_strings = []