]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1649] oops removed the if there
authorJelte Jansen <jelte@isc.org>
Tue, 14 Feb 2012 16:21:08 +0000 (17:21 +0100)
committerJelte Jansen <jelte@isc.org>
Tue, 14 Feb 2012 16:46:57 +0000 (17:46 +0100)
src/lib/python/isc/config/config_data.py

index cb33af0d9b30a8ac9e3c139781b9a97a1e3a1ec9..0fc30e9ab71f460cddfb5bcb959003faec13eb4a 100644 (file)
@@ -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':