Fix NameError in getquotaroot(), sanctioned by Piers.

This commit is contained in:
Guido van Rossum 2003-01-13 15:04:26 +00:00
parent c1dd174682
commit 41b71b2f4f
1 changed files with 1 additions and 1 deletions

View File

@ -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]