mirror of
https://github.com/fail2ban/fail2ban.git
synced 2025-11-26 14:20:19 +08:00
BF: Remove unused imports and variables.
All highlighted by using pyflakes.
This commit is contained in:
4
setup.py
4
setup.py
@@ -79,9 +79,7 @@ else:
|
||||
|
||||
# Get version number, avoiding importing fail2ban.
|
||||
# This is due to tests not functioning for python3 as 2to3 takes place later
|
||||
f = open(join("fail2ban", "version.py"))
|
||||
exec(f.read())
|
||||
f.close()
|
||||
exec(open(join("fail2ban", "version.py")).read())
|
||||
|
||||
setup(
|
||||
name = "fail2ban",
|
||||
|
||||
Reference in New Issue
Block a user