Lint: Fix undefined logger variable

This commit is contained in:
rallytime 2018-08-01 10:05:14 -04:00
parent 92c9317a25
commit 44998c208e
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -735,7 +735,7 @@ def installed(name,
pip_list = __salt__['pip.list'](bin_env=bin_env, user=user, cwd=cwd)
# If we fail, then just send False, and we'll try again in the next function call
except Exception as exc:
logger.exception(exc)
log.exception(exc)
pip_list = False
for prefix, state_pkg_name, version_spec in pkgs_details: