BF: Remove warnings handler which breaks setup.py python2<2.7 and python3<3.2

This commit is contained in:
Steven Hiscocks 2013-04-21 10:59:14 +01:00
parent b182c5b5d4
commit 9d2d907fc1

View file

@ -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: