mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Fix unnecessary "else" after "raise" with pylint 2.16.2
bin/tests/system/get_algorithms.py:225:4: R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise)
This commit is contained in:
@@ -233,9 +233,8 @@ def main():
|
||||
# later by run.sh
|
||||
print("export ALGORITHM_SET=error")
|
||||
raise
|
||||
else:
|
||||
for name, value in algs_env.items():
|
||||
print(f"export {name}={value}")
|
||||
for name, value in algs_env.items():
|
||||
print(f"export {name}={value}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user