We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ac2b06 commit 3bca0d4Copy full SHA for 3bca0d4
1 file changed
lib/core/option.py
@@ -949,7 +949,12 @@ def __mergeOptions(inputOptions):
949
if inputOptions.configFile:
950
configFileParser(inputOptions.configFile)
951
952
- for key, value in inputOptions.__dict__.items():
+ if hasattr(inputOptions, "items"):
953
+ inputOptionsItems = inputOptions.items()
954
+ else:
955
+ inputOptionsItems = inputOptions.__dict__.items()
956
+
957
+ for key, value in inputOptionsItems:
958
if not conf.has_key(key) or conf[key] == None or value != None:
959
conf[key] = value
960
0 commit comments