summaryrefslogtreecommitdiff
path: root/paramiko/sftp_attr.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-02-26 15:25:48 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-02-26 15:25:48 -0800
commitde99785ef081bf6308498d621aae40d99c0d59aa (patch)
tree0de5eed4750bf7be1571a8a529a5d528ca8b7055 /paramiko/sftp_attr.py
parentdd9934f2b53db4a8311a53b2040254f72cf71ea3 (diff)
downloadparamiko-de99785ef081bf6308498d621aae40d99c0d59aa.tar.gz
SFTP done, ugh
Diffstat (limited to 'paramiko/sftp_attr.py')
-rw-r--r--paramiko/sftp_attr.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/paramiko/sftp_attr.py b/paramiko/sftp_attr.py
index 9b30829c..3ef9703b 100644
--- a/paramiko/sftp_attr.py
+++ b/paramiko/sftp_attr.py
@@ -65,12 +65,9 @@ class SFTPAttributes (object):
Create an `.SFTPAttributes` object from an existing ``stat`` object (an
object returned by `os.stat`).
- :param obj: an object returned by `os.stat` (or equivalent).
- :type obj: object
- :param filename: the filename associated with this file.
- :type filename: str
+ :param object obj: an object returned by `os.stat` (or equivalent).
+ :param str filename: the filename associated with this file.
:return: new `.SFTPAttributes` object with the same attribute fields.
- :rtype: `.SFTPAttributes`
"""
attr = cls()
attr.st_size = obj.st_size