debug pylint fixes
This commit is contained in:
parent
a9991a7a5a
commit
21faf52f2f
|
@ -138,6 +138,7 @@ def configureLogging():
|
||||||
|
|
||||||
def resetLogging():
|
def resetLogging():
|
||||||
"""Reconfigure logging in runtime when state.appdata dir changed"""
|
"""Reconfigure logging in runtime when state.appdata dir changed"""
|
||||||
|
# pylint: disable=global-statement, used-before-assignment
|
||||||
global logger
|
global logger
|
||||||
for i in logger.handlers:
|
for i in logger.handlers:
|
||||||
logger.removeHandler(i)
|
logger.removeHandler(i)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user