[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-144]

fix docs
clean up some of the docs.
This commit is contained in:
Robey Pointer 2005-02-06 23:32:22 +00:00
parent 0d10322783
commit f7b0a62e4b
3 changed files with 5 additions and 4 deletions

1
README
View File

@ -222,3 +222,4 @@ v0.9 FEAROW
* ctr forms of ciphers are missing (blowfish-ctr, aes128-ctr, aes256-ctr)
* server mode needs better documentation
* add method to block until a channel's "exit-status" is set
* the error message from this is confusing as hell: DSSKey()

View File

@ -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))