fix python 2.6 compatibility
diff --git a/wally/run_test.py b/wally/run_test.py
index 44b65c0..96b8af2 100755
--- a/wally/run_test.py
+++ b/wally/run_test.py
@@ -54,15 +54,12 @@
url = node.conn_url[len(ssh_pref):]
if vm:
- ret_count = 24
- log_warns = False
+ conn_timeout = 240
else:
- ret_count = 3
- log_warns = True
+ conn_timeout = 30
node.connection = ssh_utils.connect(url,
- retry_count=ret_count,
- log_warns=log_warns)
+ conn_timeout=conn_timeout)
else:
raise ValueError("Unknown url type {0}".format(node.conn_url))
except Exception as exc: