/[sshproxy]/sshproxy/SSHproxy/client/sftp.py
ViewVC logotype

Diff of /sshproxy/SSHproxy/client/sftp.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dguerizec, Thu Jul 21 09:43:36 2005 UTC revision 1.2 by pyrofes, Thu Oct 27 14:14:36 2005 UTC
# Line 34  class SFTPClient(paramiko.SFTPClient): Line 34  class SFTPClient(paramiko.SFTPClient):
34          @return: list of filenames.          @return: list of filenames.
35          @rtype: list of string          @rtype: list of string
36          """          """
37          t, msg = self._request(CMD_OPENDIR, path)          try:
38                t, msg = self._request(CMD_OPENDIR, path)
39            except IOError:
40                return []
41          if t != CMD_HANDLE:          if t != CMD_HANDLE:
42              raise SFTPError('Expected handle')              raise SFTPError('Expected handle')
43          handle = msg.get_string()          handle = msg.get_string()

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26