diff options
author | Robey Pointer <robey@lag.net> | 2005-02-06 23:32:22 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2005-02-06 23:32:22 +0000 |
commit | f7b0a62e4ba7a2ad0ba3c92aae8ce79ee539f6cf (patch) | |
tree | 74f06971f3d93c7e6eb8086f2198971a5be1a4dd /paramiko/sftp_attr.py | |
parent | 0d10322783ff897df27341e80672c586f809ef68 (diff) | |
download | paramiko-f7b0a62e4ba7a2ad0ba3c92aae8ce79ee539f6cf.tar.gz |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-144]
fix docs
clean up some of the docs.
Diffstat (limited to 'paramiko/sftp_attr.py')
-rw-r--r-- | paramiko/sftp_attr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/sftp_attr.py b/paramiko/sftp_attr.py index 5051686f..f1cfaf62 100644 --- a/paramiko/sftp_attr.py +++ b/paramiko/sftp_attr.py @@ -148,7 +148,7 @@ class SFTPAttributes (object): if hasattr(self, 'st_uid') or hasattr(self, 'st_gid'): out += 'uid=%d gid=%d ' % (getattr(self, 'st_uid', 0), getattr(self, 'st_gid', 0)) if hasattr(self, 'st_mode'): - out += 'mode=%d ' % self.st_mode + out += 'mode=' + oct(self.st_mode) if hasattr(self, 'st_atime') or hasattr(self, 'st_mtime'): out += 'atime=%d mtime=%d ' % (getattr(self, 'st_atime', 0), getattr(self, 'st_mtime', 0)) |