diff options
author | John Begeman <john@begeman.us> | 2013-01-09 15:26:55 -0500 |
---|---|---|
committer | John Begeman <john@begeman.us> | 2013-01-09 15:26:55 -0500 |
commit | 683b3c22893be899d2fdbf1ada35e61fba8a3d70 (patch) | |
tree | c6cc6ac1d137b4a5e5273df2717cad771c3768b7 | |
parent | 6313ad0c3a942f2c3eb471e8fed265028a469234 (diff) |
Add python 2.5 support except block to listdir_iter
-rw-r--r-- | paramiko/sftp_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py index 4c69da26..5c2eb8bb 100644 --- a/paramiko/sftp_client.py +++ b/paramiko/sftp_client.py @@ -254,7 +254,7 @@ class SFTPClient (BaseSFTP): # If we've hit the end of our queued requests, reset nums. nums = list() - except EOFError as e: + except EOFError: self._request(CMD_CLOSE, handle) return |