Skip to content

Commit 9116b99

Browse files
committed
Remove redundent line
1 parent 5ec1d7c commit 9116b99

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tools/config/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,10 +1109,9 @@ def validate_config(self):
11091109
err_msg += "\nInvalid config range settings for %s. Range specifiers are not "\
11101110
"applicable to non-decimal/hexadecimal string values" % param
11111111

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))
1112+
if accepted is not None and value not in accepted:
1113+
err_msg += "\nInvalid config range for %s, is not an accepted value: %s"\
1114+
% (param, ", ".join(accepted))
11161115

11171116
if (err_msg):
11181117
raise ConfigException(err_msg)

0 commit comments

Comments
 (0)