aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/graph/nodes.py
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2023-03-04 13:31:11 +0100
committerMatthias Baumgartner <dev@igsor.net>2023-03-04 13:44:26 +0100
commit4fead04055be4967d9ea3b24ff61fe37a93108dd (patch)
tree40fb5ea2874466cae1b3fb6ad84d1d133992bf34 /bsfs/graph/nodes.py
parent2c6c23f85e7f2123c508f9ff8a4aa776948bb589 (diff)
downloadbsfs-4fead04055be4967d9ea3b24ff61fe37a93108dd.tar.gz
bsfs-4fead04055be4967d9ea3b24ff61fe37a93108dd.tar.bz2
bsfs-4fead04055be4967d9ea3b24ff61fe37a93108dd.zip
namespace refactoring and cleanup
Diffstat (limited to 'bsfs/graph/nodes.py')
-rw-r--r--bsfs/graph/nodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsfs/graph/nodes.py b/bsfs/graph/nodes.py
index 74f4c4f..47b0217 100644
--- a/bsfs/graph/nodes.py
+++ b/bsfs/graph/nodes.py
@@ -170,7 +170,7 @@ class Nodes():
self._backend.commit()
except (
- errors.PermissionDeniedError, # tried to set a protected predicate (ns.bsm.t_created)
+ errors.PermissionDeniedError, # tried to set a protected predicate
errors.ConsistencyError, # node types are not in the schema or don't match the predicate
errors.InstanceError, # guids/values don't have the correct type
TypeError, # value is supposed to be a Nodes instance
@@ -394,7 +394,7 @@ class Nodes():
self._backend.create(node_type, missing)
# add bookkeeping triples
self._backend.set(node_type, missing,
- self._backend.schema.predicate(ns.bsm.t_created), [time.time()])
+ self._backend.schema.predicate(ns.bsn.t_created), [time.time()])
# add permission triples
self._ac.create(node_type, missing)
# return available nodes