commit | ffaf48dbd35613d33f3072cc4e91575552d32e0c | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Tue Dec 27 02:25:29 2016 +0200 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Tue Dec 27 02:25:29 2016 +0200 |
tree | 319428cd2e9f2c34c54fa36f6f7c3326b3dbdd5b | |
parent | 7f59d564c610a28e9ec46012e83b8024c9440377 [diff] [blame] |
some work on statistic code
diff --git a/wally/node.py b/wally/node.py index e85ded0..d4da52a 100644 --- a/wally/node.py +++ b/wally/node.py
@@ -196,7 +196,7 @@ if expanduser: remote_path = self.conn.fs.expanduser(remote_path) - data = open(local_path, 'rb').read() + data = open(local_path, 'rb').read() # type: bytes return self.put_to_file(remote_path, data) def put_to_file(self, path: Optional[str], content: bytes, expanduser: bool = False) -> str: