tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [1/4] tinkerpop git commit: [driver_remote] Encode Bytecode as a dict, not a string
Date Fri, 09 Dec 2016 12:16:03 GMT
Repository: tinkerpop
Updated Branches:
  refs/heads/master 69b314cb2 -> ffe62c1d4


[driver_remote] Encode Bytecode as a dict, not a string


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/0b74ea40
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/0b74ea40
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/0b74ea40

Branch: refs/heads/master
Commit: 0b74ea40aacaab519357626fa4c2c580ffe6b148
Parents: 595cf3b
Author: Branden Moore <bjmoor@sandia.gov>
Authored: Wed Dec 7 12:53:38 2016 -0700
Committer: Branden Moore <bjmoor@sandia.gov>
Committed: Wed Dec 7 12:53:38 2016 -0700

----------------------------------------------------------------------
 .../main/jython/gremlin_python/driver/driver_remote_connection.py  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0b74ea40/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py
----------------------------------------------------------------------
diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py
b/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py
index eab06f1..d975f60 100644
--- a/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py
+++ b/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py
@@ -66,7 +66,7 @@ class DriverRemoteConnection(RemoteConnection):
             "op": "bytecode",
             "processor": "traversal",
             "args": {
-                "gremlin": self._graphson_writer.writeObject(bytecode),
+                "gremlin": self._graphson_writer.toDict(bytecode),
                 "aliases": {"g": self.traversal_source}
             }
         }


Mime
View raw message