diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-07-21 01:41:30 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-07-21 01:41:30 (GMT) |
commit | 87cc0c329e9a5181534a9ca9e283669986a32900 (patch) | |
tree | 7cd81d3e13cfb22edd7a02167ddaa00647ea8b1d /Lib/imaplib.py | |
parent | 3332778f3537cf4c0230146831446aa838a4169e (diff) | |
download | cpython-87cc0c329e9a5181534a9ca9e283669986a32900.zip cpython-87cc0c329e9a5181534a9ca9e283669986a32900.tar.gz cpython-87cc0c329e9a5181534a9ca9e283669986a32900.tar.bz2 |
Whitespace normalization, plus:
+ test_quopri.py relied on significant trailing spaces. Fixed.
+ test_dircache.py (still) doesn't work on Windows (directory mtime on
Windows doesn't work like it does on Unix).
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r-- | Lib/imaplib.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 1c9be25..f7b08a6 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -566,10 +566,10 @@ class IMAP4: (typ, [data]) = <instance>.sort(sort_criteria, charset, search_criteria, ...) """ name = 'SORT' - #if not name in self.capabilities: # Let the server decide! - # raise self.error('unimplemented extension command: %s' % name) + #if not name in self.capabilities: # Let the server decide! + # raise self.error('unimplemented extension command: %s' % name) if (sort_criteria[0],sort_criteria[-1]) != ('(',')'): - sort_criteria = '(%s)' % sort_criteria + sort_criteria = '(%s)' % sort_criteria typ, dat = apply(self._simple_command, (name, sort_criteria, charset) + search_criteria) return self._untagged_response(typ, dat, name) @@ -580,7 +580,7 @@ class IMAP4: (typ, [data]) = <instance>.status(mailbox, names) """ name = 'STATUS' - #if self.PROTOCOL_VERSION == 'IMAP4': # Let the server decide! + #if self.PROTOCOL_VERSION == 'IMAP4': # Let the server decide! # raise self.error('%s unimplemented in IMAP4 (obtain IMAP4rev1 server, or re-code)' % name) typ, dat = self._simple_command(name, mailbox, names) return self._untagged_response(typ, dat, name) @@ -647,7 +647,7 @@ class IMAP4: Returns response appropriate to extension command `name'. """ name = name.upper() - #if not name in self.capabilities: # Let the server decide! + #if not name in self.capabilities: # Let the server decide! # raise self.error('unknown extension command: %s' % name) if not Commands.has_key(name): Commands[name] = (self.state,) |