mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
No xrange in py3
This commit is contained in:
parent
37808fbc53
commit
460e9333e0
@ -1112,7 +1112,7 @@ def validate_windows_cred(host,
|
||||
'''
|
||||
Check if the windows credentials are valid
|
||||
'''
|
||||
for i in xrange(retries):
|
||||
for i in range(retries):
|
||||
ret_code = 1
|
||||
try:
|
||||
stdout, stderr, ret_code = run_psexec_command(
|
||||
|
Loading…
Reference in New Issue
Block a user