mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#6322 Fix stringification of pointers to objects on python side.
This commit is contained in:
parent
4a8c4fd68f
commit
a659d065ad
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user