Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1ed564af
Commit
1ed564af
authored
Jun 17, 2002
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization (tabs -> spaces)
parent
3430d70e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Lib/imaplib.py
Lib/imaplib.py
+5
-5
No files found.
Lib/imaplib.py
View file @
1ed564af
...
...
@@ -423,10 +423,10 @@ class IMAP4:
def
getquota
(
self
,
root
):
"""Get the quota root's resource usage and limits.
Part of the IMAP4 QUOTA extension defined in rfc2087.
Part of the IMAP4 QUOTA extension defined in rfc2087.
(typ, [data]) = <instance>.getquota(root)
"""
"""
typ
,
dat
=
self
.
_simple_command
(
'GETQUOTA'
,
root
)
return
self
.
_untagged_response
(
typ
,
dat
,
'QUOTA'
)
...
...
@@ -435,11 +435,11 @@ class IMAP4:
"""Get the list of quota roots for the named mailbox.
(typ, [[QUOTAROOT responses...], [QUOTA responses]]) = <instance>.getquotaroot(mailbox)
"""
"""
typ
,
dat
=
self
.
_simple_command
(
'GETQUOTA'
,
root
)
typ
,
quota
=
self
.
_untagged_response
(
typ
,
dat
,
'QUOTA'
)
typ
,
quotaroot
=
self
.
_untagged_response
(
typ
,
dat
,
'QUOTAROOT'
)
return
typ
,
[
quotaroot
,
quota
]
return
typ
,
[
quotaroot
,
quota
]
def
list
(
self
,
directory
=
'""'
,
pattern
=
'*'
):
...
...
@@ -596,7 +596,7 @@ class IMAP4:
"""Set the quota root's resource limits.
(typ, [data]) = <instance>.setquota(root, limits)
"""
"""
typ
,
dat
=
self
.
_simple_command
(
'SETQUOTA'
,
root
,
limits
)
return
self
.
_untagged_response
(
typ
,
dat
,
'QUOTA'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment