You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2019/08/19 13:37:33 UTC
[tinkerpop] 29/33: Fixed up BulkSet python graphbinary serialization
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch TINKERPOP-2279
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 9fd5b565ab99c67af9f94b7d84f0f8a142b295b6
Author: Stephen Mallette <sp...@genoprime.com>
AuthorDate: Tue Aug 13 17:16:09 2019 -0400
Fixed up BulkSet python graphbinary serialization
---
.../src/main/jython/gremlin_python/structure/io/graphbinaryV1.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gremlin-python/src/main/jython/gremlin_python/structure/io/graphbinaryV1.py b/gremlin-python/src/main/jython/gremlin_python/structure/io/graphbinaryV1.py
index 5261952..ce03f40 100644
--- a/gremlin-python/src/main/jython/gremlin_python/structure/io/graphbinaryV1.py
+++ b/gremlin-python/src/main/jython/gremlin_python/structure/io/graphbinaryV1.py
@@ -908,7 +908,7 @@ class BulkSetIO(_GraphBinaryTypeIO):
the_list = []
while size > 0:
itm = r.readObject(b)
- bulk = cls.read_int(b)
+ bulk = struct.unpack(">q", b.read(8))[0]
for y in range(bulk):
the_list.append(itm)
size = size - 1