mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix NameError in getquotaroot(), sanctioned by Piers.
This commit is contained in:
parent
c1dd174682
commit
41b71b2f4f
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue