From 460e9333e0775d49acb9aa100c5b35d25eabfb01 Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Wed, 2 Jan 2019 12:38:33 -0700 Subject: [PATCH] No xrange in py3 --- salt/utils/cloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py index ad3ea7111f..aaff832de3 100644 --- a/salt/utils/cloud.py +++ b/salt/utils/cloud.py @@ -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(