Browse Source

[1649] oops removed the if there

Jelte Jansen 13 years ago
parent
commit
c70cfef485
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/python/isc/config/config_data.py

+ 1 - 1
src/lib/python/isc/config/config_data.py

@@ -217,7 +217,7 @@ def spec_name_list(spec, prefix="", recurse=False):
     if prefix != "" and not prefix.endswith("/"):
         prefix += "/"
     if type(spec) == dict:
-        spec_part_is_map(spec):
+        if spec_part_is_map(spec):
             for map_el in spec['map_item_spec']:
                 name = map_el['item_name']
                 if map_el['item_type'] == 'map':