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 2016/12/16 15:55:32 UTC
[31/50] tinkerpop git commit: [driver_remote] Encode Bytecode as a
dict, not a string
[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/TINKERPOP-1490
Commit: 0b74ea40aacaab519357626fa4c2c580ffe6b148
Parents: 595cf3b
Author: Branden Moore <bj...@sandia.gov>
Authored: Wed Dec 7 12:53:38 2016 -0700
Committer: Branden Moore <bj...@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}
}
}