summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-py/rhizi_api.py8
-rw-r--r--src-py/rhizi_server.py8
2 files changed, 8 insertions, 8 deletions
diff --git a/src-py/rhizi_api.py b/src-py/rhizi_api.py
index 461f1e03..8d787a5c 100644
--- a/src-py/rhizi_api.py
+++ b/src-py/rhizi_api.py
@@ -142,7 +142,7 @@ def rz_clone():
op = dbc.DBO_rz_clone()
return __common_exec(op)
-def diff_commit_set():
+def diff_commit__set():
"""
commit a diff set
"""
@@ -158,7 +158,7 @@ def diff_commit_set():
op = dbc.DBO_topo_diff_commit(topo_diff)
return __common_exec(op)
-def diff_commit_topo():
+def diff_commit__topo():
"""
commit a graph topology diff
"""
@@ -173,7 +173,7 @@ def diff_commit_topo():
op = dbc.DBO_topo_diff_commit(topo_diff)
return __common_exec(op)
-def diff_commit_attr():
+def diff_commit__attr():
"""
commit a graph attribute diff
"""
@@ -183,7 +183,7 @@ def diff_commit_attr():
op = dbc.DBO_attr_diff_commit(attr_diff)
return __common_exec(op)
-def diff_commit_vis():
+def diff_commit__vis():
pass
def add_node_set():
diff --git a/src-py/rhizi_server.py b/src-py/rhizi_server.py
index 621868cd..4f0c7b52 100644
--- a/src-py/rhizi_server.py
+++ b/src-py/rhizi_server.py
@@ -175,10 +175,10 @@ def init_rest_api(cfg, flask_webapp):
rest_entry_set = [
rest_entry('/add/node-set' , rhizi_api.add_node_set),
rest_entry('/graph/clone', rhizi_api.rz_clone),
- rest_entry('/graph/diff-commit-set', rhizi_api.diff_commit_set),
- rest_entry('/graph/diff-commit-topo', rhizi_api.diff_commit_topo),
- rest_entry('/graph/diff-commit-attr', rhizi_api.diff_commit_attr),
- rest_entry('/graph/diff-commit-vis', rhizi_api.diff_commit_vis),
+ rest_entry('/graph/diff-commit-set', rhizi_api.diff_commit__set),
+ rest_entry('/graph/diff-commit-topo', rhizi_api.diff_commit__topo),
+ rest_entry('/graph/diff-commit-attr', rhizi_api.diff_commit__attr),
+ rest_entry('/graph/diff-commit-vis', rhizi_api.diff_commit__vis),
rest_entry('/index', rhizi_api.index, {'methods': ['GET']}),
rest_entry('/load/node-set-by-id', rhizi_api.load_node_set_by_id_attr),
rest_entry('/load/link-set/by_link_ptr_set', rhizi_api.load_link_set_by_link_ptr_set),