mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Lint: Fix undefined logger variable
This commit is contained in:
parent
92c9317a25
commit
44998c208e
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue