Repository: tinkerpop Updated Branches: refs/heads/master b15a9c30a -> 7a814e196
TINKERPOP-1769 Removed "empty" from string representation of Graph EmptyGraph as a whole bugs me as a means for connecting to "remote" graph systems. While I don't know exactly how it will change to be better right now, I don't think that this change will hurt anything in the mean time. CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/7a814e19 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/7a814e19 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/7a814e19 Branch: refs/heads/master Commit: 7a814e196519775079005cdf9bc73ec934302891 Parents: b15a9c3 Author: Stephen Mallette <[email protected]> Authored: Fri Sep 7 12:07:50 2018 -0400 Committer: Stephen Mallette <[email protected]> Committed: Fri Sep 7 12:07:50 2018 -0400 ---------------------------------------------------------------------- .../src/main/javascript/gremlin-javascript/lib/structure/graph.js | 2 +- gremlin-python/src/main/jython/gremlin_python/structure/graph.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7a814e19/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.js ---------------------------------------------------------------------- diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.js b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.js index f6553fa..ac571ba 100644 --- a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.js +++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.js @@ -35,7 +35,7 @@ class Graph { } toString() { - return 'graph[empty]'; + return 'graph[]'; } } http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7a814e19/gremlin-python/src/main/jython/gremlin_python/structure/graph.py ---------------------------------------------------------------------- diff --git a/gremlin-python/src/main/jython/gremlin_python/structure/graph.py b/gremlin-python/src/main/jython/gremlin_python/structure/graph.py index 3df0cd1..cbe5745 100644 --- a/gremlin-python/src/main/jython/gremlin_python/structure/graph.py +++ b/gremlin-python/src/main/jython/gremlin_python/structure/graph.py @@ -34,7 +34,7 @@ class Graph(object): return traversal_source_class(self, TraversalStrategies.global_cache[self.__class__]) def __repr__(self): - return "graph[empty]" + return "graph[]" class Element(object):
