mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Whitespace lint issues
This commit is contained in:
parent
075d3d3c49
commit
12f983ce9f
1 changed files with 2 additions and 3 deletions
|
@ -2449,15 +2449,14 @@ def latest(
|
|||
'result': None,
|
||||
'comment': '\n'.join(comments)}
|
||||
|
||||
|
||||
# No need to refresh, if a refresh was necessary it would have been
|
||||
# performed above when pkg.latest_version was run.
|
||||
try:
|
||||
if salt.utils.is_windows():
|
||||
# pkg.install execution module on windows ensures the
|
||||
# software package is installed when no version is
|
||||
# specified, it does not upgrade the software to the
|
||||
# latest. This is per the design.
|
||||
# specified, it does not upgrade the software to the
|
||||
# latest. This is per the design.
|
||||
# Build updated list of pkgs *with verion number*, exclude
|
||||
# non-targeted ones
|
||||
targeted_pkgs = [{x: targets[x]} for x in targets.keys()]
|
||||
|
|
Loading…
Add table
Reference in a new issue