Satisfy pylint checks

This commit is contained in:
Mark Gomersbach 2018-11-02 17:52:21 +01:00
parent 05c598c75e
commit a2838dbd05
No known key found for this signature in database
GPG key ID: B5171AF93EC64F16
2 changed files with 3 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
from importlib import reload # pylint: disable=W0611
# Import third party libs
HAS_PORTAGE = False
@ -246,6 +246,7 @@ def latest_version(*names, **kwargs):
return ret[names[0]]
return ret
# available_version is being deprecated
available_version = salt.utils.alias_function(latest_version, 'available_version')

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
from importlib import reload # pylint: disable=W0611
log = logging.getLogger(__name__)