[Python-checkins] python/dist/src/Lib imaplib.py,1.58,1.59
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Mon, 13 Jan 2003 07:04:35 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv16013
Modified Files:
imaplib.py
Log Message:
Fix NameError in getquotaroot(), sanctioned by Piers.
Index: imaplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/imaplib.py,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** imaplib.py 24 Nov 2002 02:35:33 -0000 1.58
--- imaplib.py 13 Jan 2003 15:04:26 -0000 1.59
***************
*** 442,446 ****
(typ, [[QUOTAROOT responses...], [QUOTA responses]]) = <instance>.getquotaroot(mailbox)
"""
! typ, dat = self._simple_command('GETQUOTA', root)
typ, quota = self._untagged_response(typ, dat, 'QUOTA')
typ, quotaroot = self._untagged_response(typ, dat, 'QUOTAROOT')
--- 442,446 ----
(typ, [[QUOTAROOT responses...], [QUOTA responses]]) = <instance>.getquotaroot(mailbox)
"""
! typ, dat = self._simple_command('GETQUOTA', mailbox)
typ, quota = self._untagged_response(typ, dat, 'QUOTA')
typ, quotaroot = self._untagged_response(typ, dat, 'QUOTAROOT')