fixed bug when adding bindings to standard request

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

Branch: refs/heads/master
Commit: 4c4efe8f5081972edd3b10b7c8ee5bc161465ffd
Parents: cf48a4c
Author: davebshow <davebs...@gmail.com>
Authored: Tue Feb 21 14:13:21 2017 -0500
Committer: davebshow <davebs...@gmail.com>
Committed: Tue Feb 28 10:33:21 2017 -0500

----------------------------------------------------------------------
 gremlin-python/src/main/jython/gremlin_python/driver/client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/4c4efe8f/gremlin-python/src/main/jython/gremlin_python/driver/client.py
----------------------------------------------------------------------
diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/client.py 
b/gremlin-python/src/main/jython/gremlin_python/driver/client.py
index c7c7037..a3bc825 100644
--- a/gremlin-python/src/main/jython/gremlin_python/driver/client.py
+++ b/gremlin-python/src/main/jython/gremlin_python/driver/client.py
@@ -118,6 +118,6 @@ class Client:
                 args={'gremlin': message,
                       'aliases': {'g': self._traversal_source}})
             if bindings:
-                message.args.update(bindings)
+                message.args.update({'bindings': bindings})
         conn = self._pool.get(True)
         return conn.write(message)

Reply via email to