|
19 | 19 | # GET/SETQUOTA contributed by Andreas Zeidler <[email protected]> June 2002. |
20 | 20 | # PROXYAUTH contributed by Rick Holbert <[email protected]> November 2002. |
21 | 21 |
|
22 | | -__version__ = "2.54" |
| 22 | +__version__ = "2.55" |
23 | 23 |
|
24 | 24 | import binascii, os, random, re, socket, sys, time |
25 | 25 |
|
@@ -452,7 +452,7 @@ def getquotaroot(self, mailbox): |
452 | 452 |
|
453 | 453 | (typ, [[QUOTAROOT responses...], [QUOTA responses]]) = <instance>.getquotaroot(mailbox) |
454 | 454 | """ |
455 | | - typ, dat = self._simple_command('GETQUOTA', mailbox) |
| 455 | + typ, dat = self._simple_command('GETQUOTAROOT', mailbox) |
456 | 456 | typ, quota = self._untagged_response(typ, dat, 'QUOTA') |
457 | 457 | typ, quotaroot = self._untagged_response(typ, dat, 'QUOTAROOT') |
458 | 458 | return typ, [quotaroot, quota] |
@@ -611,8 +611,10 @@ def select(self, mailbox='INBOX', readonly=None): |
611 | 611 | (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=None) |
612 | 612 |
|
613 | 613 | 'data' is count of messages in mailbox ('EXISTS' response). |
| 614 | +
|
| 615 | + Mandated responses are ('FLAGS', 'EXISTS', 'RECENT', 'UIDVALIDITY'), so |
| 616 | + other responses should be obtained via <instance>.response('FLAGS') etc. |
614 | 617 | """ |
615 | | - # Mandated responses are ('FLAGS', 'EXISTS', 'RECENT', 'UIDVALIDITY') |
616 | 618 | self.untagged_responses = {} # Flush old responses. |
617 | 619 | self.is_readonly = readonly |
618 | 620 | if readonly is not None: |
|
0 commit comments