summaryrefslogtreecommitdiff
path: root/src/server/db_controller.py
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-12-23 14:30:28 +0200
committerLV-426 <lv-426@taproot.org.il>2014-12-23 14:30:28 +0200
commitb239959ede9581bc7d7f3486c8e90c1457e96ab5 (patch)
treeca64b586c104958763b48c463c0cc8ce15986230 /src/server/db_controller.py
parenta20e757a094a92195d0f60ee92b83caf8c3669ba (diff)
support space containing label setting on links
Diffstat (limited to 'src/server/db_controller.py')
-rw-r--r--src/server/db_controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/db_controller.py b/src/server/db_controller.py
index 3ce48a7c..a0641544 100644
--- a/src/server/db_controller.py
+++ b/src/server/db_controller.py
@@ -225,7 +225,7 @@ class DBO_attr_diff_commit(DB_op):
# the replaced label.
q_create_new = ["match a-[l_old {id: {id}}]->b",
- "create a-[l_new:%s]->b set l_new=l_old" % new_label,
+ "create a-[l_new:%s]->b set l_new=l_old" % neo4j_util.quote__backtick(new_label),
"return l_new.id, {id: l_new.id, name: type(l_new)}",
]
q_delete_old = ["match a-[l_old {id: {id}}]->b",