Whitespace lint issues

This commit is contained in:
Damon Atkins 2018-05-18 02:18:35 +10:00 committed by rallytime
parent 2a29b28ee6
commit 9f18f7cdf5
No known key found for this signature in database
GPG Key ID: E8F1A4B90D0DEA19

View File

@ -2512,15 +2512,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()]