diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-10-05 20:53:23 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2014-10-05 20:53:23 +0200 |
| commit | c1ff46d12a3a9d43d84bb337fa1795d0795a7a15 (patch) | |
| tree | 7e5c9a83049099b8ecca39b9d18ae266010862f4 /src-py | |
| parent | 82f927d4ca2ca671afccc3a5efd1e73e2e89e9ca (diff) | |
misc - switch to iteritems()
Diffstat (limited to 'src-py')
| -rw-r--r-- | src-py/db_controller.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-py/db_controller.py b/src-py/db_controller.py index 04312eaa..d72c7bc4 100644 --- a/src-py/db_controller.py +++ b/src-py/db_controller.py @@ -68,11 +68,11 @@ class DBO_add_node_set(DB_op): @input_to_DB_property_map: optional function which takes a map of input properties and returns a map of DB properties - use to map input schemas to DB schemas """ super(DBO_add_node_set, self).__init__() - - for k, v in node_map.iteritems(): # do some type sanity checking + + for k, v in node_map.iteritems(): # do some type sanity checking assert isinstance(k, basestring) assert isinstance(v, list) - + self.node_map = node_map for type, n_set in self.node_map.items(): |
