commit | 783b45471accaf9cc68c15b27775df40199b0363 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Thu Apr 23 18:57:04 2015 +0300 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Thu Apr 23 18:57:04 2015 +0300 |
tree | eac67afcf7ab7c55da5f1fdf2d172763a6defe8f | |
parent | 7306c64720c92e8ab95f2dbdd6b13ed6c597eae9 [diff] [blame] |
fixing issues with bad ssg connection
diff --git a/wally/ssh_utils.py b/wally/ssh_utils.py index d3d6547..af3424c 100644 --- a/wally/ssh_utils.py +++ b/wally/ssh_utils.py
@@ -53,6 +53,12 @@ def open(cls, *args, **kwarhgs): return open(*args, **kwarhgs) + def __enter__(self): + return self + + def __exit__(self, x, y, z): + return False + def ssh_connect(creds, conn_timeout=60): if creds == 'local':