Skip to content
Snippets Groups Projects
Commit ea522bd7 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

BF: Handle missing values in feat design files

parent a0e98476
No related branches found
No related tags found
No related merge requests found
......@@ -544,7 +544,12 @@ def loadFEATDesignFile(filename):
if line == '':
continue
name, value = line.split(maxsplit=1)
tokens = line.split(maxsplit=1)
if len(tokens) == 1:
name, value = tokens[0], ''
else:
name, value = tokens
fields[name] = value
return fields
......
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