From 4cce2e3737a78ffca41ada15b3f0d38968b60900 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Sun, 5 Oct 2014 20:54:00 +0200 Subject: adapt DBO_load_node_set_by_id_attribute to DBO_load_node_set_by_attribute --- src-py/db_controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-py/db_controller.py b/src-py/db_controller.py index d72c7bc4..2c3eb873 100644 --- a/src-py/db_controller.py +++ b/src-py/db_controller.py @@ -180,11 +180,11 @@ class DBO_load_node_set_by_attribute(DB_op): class DBO_load_node_set_by_id_attribute(DBO_load_node_set_by_attribute): def __init__(self, id_set): """ - convenience op for load a set of nodes by their 'id' attribute != DB node id + convenience op: load a set of nodes by their 'id' attribute != DB node id """ assert isinstance(id_set, list) - super(DBO_load_node_set_by_id_attribute, self).__init__('id', id_set) + super(DBO_load_node_set_by_id_attribute, self).__init__({'id': id_set}) class DB_Controller: """ -- cgit v1.3.1