From: Guido van Rossum Date: Mon, 13 Jan 2003 15:04:26 +0000 (+0000) Subject: Fix NameError in getquotaroot(), sanctioned by Piers. X-Git-Tag: v2.3c1~2468 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41b71b2f4f6e7c6ff9c92abfed2dd0f6c1a1c1a2;p=python Fix NameError in getquotaroot(), sanctioned by Piers. --- diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 47fbafa5cf..6a27a67e12 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -441,7 +441,7 @@ class IMAP4: (typ, [[QUOTAROOT responses...], [QUOTA responses]]) = .getquotaroot(mailbox) """ - typ, dat = self._simple_command('GETQUOTA', root) + typ, dat = self._simple_command('GETQUOTA', mailbox) typ, quota = self._untagged_response(typ, dat, 'QUOTA') typ, quotaroot = self._untagged_response(typ, dat, 'QUOTAROOT') return typ, [quotaroot, quota]