summaryrefslogtreecommitdiff
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-01-13 15:04:26 +0000
committerGuido van Rossum <guido@python.org>2003-01-13 15:04:26 +0000
commit41b71b2f4f6e7c6ff9c92abfed2dd0f6c1a1c1a2 (patch)
tree451a4e4b629ca6318cb51c8a08440f77cd0ea5ea /Lib/imaplib.py
parentc1dd174682e1bce7044ae993bfadc3a042a53ed6 (diff)
downloadcpython-git-41b71b2f4f6e7c6ff9c92abfed2dd0f6c1a1c1a2.tar.gz
Fix NameError in getquotaroot(), sanctioned by Piers.
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py2
1 files changed, 1 insertions, 1 deletions
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]]) = <instance>.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]