commit | e2de58c54bd4b67f29261adcc9ba822799dbc481 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Fri Apr 24 22:59:36 2015 +0300 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Tue Apr 28 14:53:39 2015 +0300 |
tree | 4f0fecac1ed67ea0752e128bcfdfb385d7d853d7 | |
parent | 0f99119831f04af679ed6f31f757ee6aad6282e8 [diff] [blame] |
improve bg. process monitoring
diff --git a/wally/ssh_utils.py b/wally/ssh_utils.py index c6b1f70..efae92f 100644 --- a/wally/ssh_utils.py +++ b/wally/ssh_utils.py
@@ -53,6 +53,10 @@ def open(cls, *args, **kwarhgs): return open(*args, **kwarhgs) + @classmethod + def stat(cls, path): + return os.stat(path) + def __enter__(self): return self