You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2017/10/19 20:00:40 UTC

tinkerpop git commit: I had to tweak master/ on the last merge and the tweak I did was more clever than what I have in tp32/. Thus, back porting it. CTR.

Repository: tinkerpop
Updated Branches:
  refs/heads/tp32 ff49cbea3 -> 3648f80ac


I had to tweak master/ on the last merge and the tweak I did was more clever than what I have in tp32/. Thus, back porting it. CTR.


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

Branch: refs/heads/tp32
Commit: 3648f80acea2e7d29bb808402ac816b788ec383b
Parents: ff49cbe
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Thu Oct 19 14:00:37 2017 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Thu Oct 19 14:00:37 2017 -0600

----------------------------------------------------------------------
 .../tinkerpop/gremlin/python/jsr223/PythonTranslator.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/3648f80a/gremlin-python/src/main/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonTranslator.java
----------------------------------------------------------------------
diff --git a/gremlin-python/src/main/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonTranslator.java b/gremlin-python/src/main/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonTranslator.java
index a5bfd25..4af4578 100644
--- a/gremlin-python/src/main/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonTranslator.java
+++ b/gremlin-python/src/main/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonTranslator.java
@@ -198,10 +198,10 @@ public class PythonTranslator implements Translator.ScriptTranslator {
                 return "Vertex(" + convertToString(vertex.id()) + "," + convertToString(vertex.label()) + ")";
             } else if (object instanceof Edge) {
                 final Edge edge = (Edge) object;
-                return "Edge(" + convertToString(edge.id()) + ", " +
-                        "Vertex(" + convertToString(edge.outVertex().id()) + ")," +
-                        convertToString(edge.label()) +
-                        ",Vertex(" + convertToString(edge.inVertex().id()) + "))";
+                return "Edge(" + convertToString(edge.id()) + "," +
+                        convertToString(edge.outVertex()) + "," +
+                        convertToString(edge.label()) + "," +
+                        convertToString(edge.inVertex()) + ")";
             } else { // VertexProperty
                 final VertexProperty vertexProperty = (VertexProperty) object;
                 return "VertexProperty(" + convertToString(vertexProperty.id()) + "," +