diff options
author | John Begeman <john@begeman.us> | 2013-01-09 15:02:21 -0500 |
---|---|---|
committer | John Begeman <john@begeman.us> | 2013-01-09 15:02:21 -0500 |
commit | 6313ad0c3a942f2c3eb471e8fed265028a469234 (patch) | |
tree | a5829df3b3f99106da4ae7d313824b6d4b78ca8a | |
parent | 448613e33c395917771c2751e62888a74ff663b3 (diff) |
Remove some debug stuff I inadvertently left in and remove some confusing comments
-rw-r--r-- | paramiko/sftp_client.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py index b546363d..4c69da26 100644 --- a/paramiko/sftp_client.py +++ b/paramiko/sftp_client.py @@ -224,7 +224,6 @@ class SFTPClient (BaseSFTP): nums = list() while True: try: - # Assume the handle IDs we're getting will be in sequence... # Send out a bunch of readdir requests so that we can read the responses later on # Section 6.7 of the SSH file transfer RFC explains this # http://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt @@ -238,7 +237,6 @@ class SFTPClient (BaseSFTP): # If we're at the end of our queued requests, then fire off some more requests # Exit the loop when we've reached the end of the directory handle for num in nums: - # Avoid using self._request as it does a bunch of shit we don't care about in scanning directories t, pkt_data = self._read_packet() msg = Message(pkt_data) new_num = msg.get_int() @@ -251,7 +249,6 @@ class SFTPClient (BaseSFTP): longname = msg.get_string() attr = SFTPAttributes._from_msg(msg, filename, longname) if (filename != '.') and (filename != '..'): - now = datetime.datetime.now() yield attr # If we've hit the end of our queued requests, reset nums. |