mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fixes lint issues
This commit is contained in:
parent
3251424838
commit
d6e6e10534
@ -697,7 +697,7 @@ def install(name=None, refresh=False, pkgs=None, saltenv='base', **kwargs):
|
||||
tries = 0
|
||||
difference = salt.utils.compare_dicts(old, new)
|
||||
while not all(name in difference for name in changed) and tries < 10:
|
||||
time.sleep( 3 )
|
||||
time.sleep(3)
|
||||
new = list_pkgs()
|
||||
difference = salt.utils.compare_dicts(old, new)
|
||||
tries += 1
|
||||
|
Loading…
Reference in New Issue
Block a user