summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-03-22 15:44:44 +0200
committerAlon Levy <alon@pobox.com>2015-03-22 15:44:44 +0200
commitbff9b45ebd8ae2fcb43077dd52bbd54337e5b358 (patch)
tree8a7c65262b97e26eb242095ebe1c2a4a3bb4fcec
parent513a5dfaa9764401f05c304f00ce7e1a7eb694c6 (diff)
server/neo4j_util: actually neo4j supports any char as the first char including general utf-8 (citation needed)
-rw-r--r--src/server/neo4j_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/neo4j_util.py b/src/server/neo4j_util.py
index 5854d6ed..1b9943b0 100644
--- a/src/server/neo4j_util.py
+++ b/src/server/neo4j_util.py
@@ -197,7 +197,7 @@ def gen_clause_where_from_filter_attr_map(filter_attr_map, node_label="n"):
return filter_str
def valid_label(label):
- return len(label) > 0 and (label[0].isupper() or label[0] == '_')
+ return len(label) > 0
def gen_query_create_from_node_map(node_map, input_to_DB_property_map=lambda _: _):
"""