BF: Remove unused imports and variables.

All highlighted by using pyflakes.
This commit is contained in:
Steven Hiscocks
2014-03-16 14:31:34 +00:00
parent 16125ec81a
commit 41cbbbc248
22 changed files with 50 additions and 116 deletions

View File

@@ -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",