Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
c70cfef4
Commit
c70cfef4
authored
Feb 14, 2012
by
Jelte Jansen
Browse files
[1649] oops removed the if there
parent
1293666c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/python/isc/config/config_data.py
View file @
c70cfef4
...
@@ -217,7 +217,7 @@ def spec_name_list(spec, prefix="", recurse=False):
...
@@ -217,7 +217,7 @@ def spec_name_list(spec, prefix="", recurse=False):
if
prefix
!=
""
and
not
prefix
.
endswith
(
"/"
):
if
prefix
!=
""
and
not
prefix
.
endswith
(
"/"
):
prefix
+=
"/"
prefix
+=
"/"
if
type
(
spec
)
==
dict
:
if
type
(
spec
)
==
dict
:
spec_part_is_map
(
spec
):
if
spec_part_is_map
(
spec
):
for
map_el
in
spec
[
'map_item_spec'
]:
for
map_el
in
spec
[
'map_item_spec'
]:
name
=
map_el
[
'item_name'
]
name
=
map_el
[
'item_name'
]
if
map_el
[
'item_type'
]
==
'map'
:
if
map_el
[
'item_type'
]
==
'map'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment