mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Satisfy pylint checks
This commit is contained in:
parent
05c598c75e
commit
a2838dbd05
2 changed files with 3 additions and 2 deletions
|
@ -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')
|
||||
|
||||
|
|
|
@ -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__)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue