Skip to content
Snippets Groups Projects
Commit 7700800d authored by Samuel Jackson's avatar Samuel Jackson
Browse files

Refs #16962 Swap to old style dict initilisation

RHEL6 does not support the modern version.
parent 0af69e46
No related branches found
No related tags found
No related merge requests found
......@@ -399,7 +399,9 @@ def parse_project_file(contents, pattern=""):
data = {}
# recursively parse sections
if len(match) > 0:
data = { x: y for x, y in match}
data = {}
for x, y in match:
data[x] = y
for key in data.keys():
data[key] = parse_project_file(data[key], pattern)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment