summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-01-13 15:04:26 (GMT)
committerGuido van Rossum <guido@python.org>2003-01-13 15:04:26 (GMT)
commit41b71b2f4f6e7c6ff9c92abfed2dd0f6c1a1c1a2 (patch)
tree451a4e4b629ca6318cb51c8a08440f77cd0ea5ea
parentc1dd174682e1bce7044ae993bfadc3a042a53ed6 (diff)
downloadcpython-41b71b2f4f6e7c6ff9c92abfed2dd0f6c1a1c1a2.zip
cpython-41b71b2f4f6e7c6ff9c92abfed2dd0f6c1a1c1a2.tar.gz
cpython-41b71b2f4f6e7c6ff9c92abfed2dd0f6c1a1c1a2.tar.bz2
Fix NameError in getquotaroot(), sanctioned by Piers.
-rw-r--r--Lib/imaplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 47fbafa5..6a27a67 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]