This commit is contained in:
Florian Bruhin 2016-08-19 15:47:35 +02:00
parent 1cfadbf034
commit bcb06f0cc6
2 changed files with 0 additions and 6 deletions

View File

@ -22,7 +22,6 @@
import functools
import types
import traceback
import logging
try:
import hunter

View File

@ -160,7 +160,6 @@ class CriticalQtWarning(Exception):
def init_log(args):
"""Init loggers based on the argparse namespace passed."""
global console
level = args.loglevel.upper()
try:
numeric_level = getattr(logging, level)
@ -189,10 +188,6 @@ def init_log(args):
_log_inited = True
def change(filters):
console.addFilter(LogFilter(filters.split(',')))
def _init_py_warnings():
"""Initialize Python warning handling."""
warnings.simplefilter('default')