debug pylint fixes

This commit is contained in:
lakshyacis 2019-10-05 20:13:08 +05:30
parent a9991a7a5a
commit 21faf52f2f
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

View File

@ -138,6 +138,7 @@ def configureLogging():
def resetLogging():
"""Reconfigure logging in runtime when state.appdata dir changed"""
# pylint: disable=global-statement, used-before-assignment
global logger
for i in logger.handlers:
logger.removeHandler(i)