We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec1d7c commit 9116b99Copy full SHA for 9116b99
tools/config/__init__.py
@@ -1109,10 +1109,9 @@ def validate_config(self):
1109
err_msg += "\nInvalid config range settings for %s. Range specifiers are not "\
1110
"applicable to non-decimal/hexadecimal string values" % param
1111
1112
- if accepted is not None:
1113
- if accepted is not None and value not in accepted:
1114
- err_msg += "\nInvalid config range for %s, is not an accepted value: %s"\
1115
- % (param, ", ".join(accepted))
+ if accepted is not None and value not in accepted:
+ err_msg += "\nInvalid config range for %s, is not an accepted value: %s"\
+ % (param, ", ".join(accepted))
1116
1117
if (err_msg):
1118
raise ConfigException(err_msg)
0 commit comments