mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-08-04 06:39:05 +00:00
BF: Remove warnings handler which breaks setup.py python2<2.7 and python3<3.2
This commit is contained in:
parent
b182c5b5d4
commit
9d2d907fc1
1 changed files with 0 additions and 1 deletions
1
setup.py
1
setup.py
|
|
@ -51,7 +51,6 @@ if setuptools and "test" in sys.argv:
|
|||
logSys.addHandler(hdlr)
|
||||
if set(["-q", "--quiet"]) & set(sys.argv):
|
||||
logSys.setLevel(logging.FATAL)
|
||||
logging.captureWarnings(True)
|
||||
elif set(["-v", "--verbose"]) & set(sys.argv):
|
||||
logSys.setLevel(logging.DEBUG)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue