Skip to content

Commit 41b71b2

Browse files
committed
Fix NameError in getquotaroot(), sanctioned by Piers.
1 parent c1dd174 commit 41b71b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/imaplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def getquotaroot(self, mailbox):
441441
442442
(typ, [[QUOTAROOT responses...], [QUOTA responses]]) = <instance>.getquotaroot(mailbox)
443443
"""
444-
typ, dat = self._simple_command('GETQUOTA', root)
444+
typ, dat = self._simple_command('GETQUOTA', mailbox)
445445
typ, quota = self._untagged_response(typ, dat, 'QUOTA')
446446
typ, quotaroot = self._untagged_response(typ, dat, 'QUOTAROOT')
447447
return typ, [quotaroot, quota]

0 commit comments

Comments
 (0)