Satisfy pylint, use naming instead of W or E classification

This commit is contained in:
Mark Gomersbach 2018-11-03 09:29:40 +01:00
parent d20581c962
commit e453e82772
No known key found for this signature in database
GPG key ID: B5171AF93EC64F16
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ import salt.ext.six as six
# Workaround for 'reload' builtin of py2.7
if six.PY3:
from importlib import reload # pylint: disable=W0611
from importlib import reload # pylint: disable=no-name-in-module
# Import third party libs
HAS_PORTAGE = False

View file

@ -19,7 +19,7 @@ import salt.ext.six as six
# Workaround for 'reload' builtin of py2.7
if six.PY3:
from importlib import reload # pylint: disable=W0611
from importlib import reload # pylint: disable=no-name-in-module
log = logging.getLogger(__name__)