summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
Diffstat (limited to 'func')
-rw-r--r--func/env_setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/func/env_setup.py b/func/env_setup.py
index f3c01a7c..8abf9da2 100644
--- a/func/env_setup.py
+++ b/func/env_setup.py
@@ -53,7 +53,7 @@ class Env_setup():
ssh_cmd = 'expect ./data/ssh_exch.exp {0} {1}'.format(ipvar, pwvar)
print ssh_cmd
res = os.system(ssh_cmd)
- for infinity in range(10000):
+ for infinity in range(100):
try :
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
@@ -71,7 +71,7 @@ class Env_setup():
time.sleep(3)
os.system(ssh_c)
- for infinity in range(10000):
+ for infinity in range(100):
try :
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())