mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Linting
This commit is contained in:
parent
1d530e21f3
commit
0dc7657ec5
@ -706,7 +706,7 @@ def list_repo_pkgs(*args, **kwargs):
|
||||
)
|
||||
if out['retcode'] == 0:
|
||||
_parse_output(out['stdout'], strict=True)
|
||||
# The --showduplicates option is added in 3.2.13, but the
|
||||
# The --showduplicates option is added in 3.2.13, but the
|
||||
# repository-packages subcommand is only in 3.4.3 and newer
|
||||
elif yum_version and yum_version < _LooseVersion('3.4.3'):
|
||||
cmd_prefix = ['yum', '--quiet', 'list', '--showduplicates']
|
||||
|
Loading…
Reference in New Issue
Block a user