summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-01-02 17:32:10 +0200
committerLV-426 <lv-426@taproot.org.il>2015-01-02 17:56:27 +0200
commit1600e5dc6e4b817e65c99b9681f9d366dfcd815f (patch)
tree826f8a876766c0ee4b5696970798a243d4d71287 /src
parent4edb8d884c292a66338f022791373bf0f1d99a31 (diff)
DBO_attr_diff_commit(): document return type
Diffstat (limited to 'src')
-rw-r--r--src/server/db_controller.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/server/db_controller.py b/src/server/db_controller.py
index 5c6a6d63..9c3abbb1 100644
--- a/src/server/db_controller.py
+++ b/src/server/db_controller.py
@@ -5,6 +5,7 @@ import logging
import os
import re
import traceback
+import neo4j_util
from db_driver import DB_Driver_REST, DB_Driver_Base
from model.graph import Attr_Diff
@@ -205,7 +206,11 @@ class DBO_topo_diff_commit(DB_composed_op):
class DBO_attr_diff_commit(DB_op):
"""
- commit a Attr_Diff
+ commit a Attr_Diff, return an Attr_Diff
+
+ @return: an Attr_Diff upon success - it is important to note that written-
+ to attributes do not imply necessarily that the attribute has
+ actually changed, only that it has been 'touched'
"""
def __init__(self, attr_diff):
super(DBO_attr_diff_commit, self).__init__()