Skip to content

Commit 4c87cd5

Browse files
committed
Fixed failing readModelId test
1 parent d1078c2 commit 4c87cd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mps-cli-py/src/mpscli/model/builder/SModelBuilderBinaryPersistency.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def readUUID(self, fileContent, pos):
5050
tailBits = self.readLong(fileContent, pos + 8)
5151
uuid_val = uuid.UUID(int=(headBits << 64) | tailBits)
5252
print("------------ UUID:", uuid_val)
53-
return (headBits, tailBits)
53+
#return (headBits, tailBits)
54+
return str(uuid_val)
5455

5556
def readLong(self, fileContent, pos):
5657
return int.from_bytes(fileContent[pos:pos+8], byteorder='big')

0 commit comments

Comments
 (0)