summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-22 00:42:26 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-22 00:42:26 (GMT)
commitd6bebce5e5a6e92b6949dd001d3d467a7aa1aaef (patch)
tree22235f621804d3c91a09986fcd979eb9e6c78940 /Lib/imaplib.py
parentfe6accfc3654672c4ce323754c0084ceffec711d (diff)
downloadcpython-d6bebce5e5a6e92b6949dd001d3d467a7aa1aaef.zip
cpython-d6bebce5e5a6e92b6949dd001d3d467a7aa1aaef.tar.gz
cpython-d6bebce5e5a6e92b6949dd001d3d467a7aa1aaef.tar.bz2
Make tabnanny happy. (Piers, please run the test suite before
checking in changes. The test suite requires consistent use of spaces and tabs.)
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index dd6e797..813b67c 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -222,13 +222,13 @@ class IMAP4:
def send(self, data):
"""Send data to remote."""
- bytes = len(data)
- while bytes > 0:
- sent = self.sock.send(data)
- if sent == bytes:
- break # avoid copy
- data = data[sent:]
- bytes = bytes - sent
+ bytes = len(data)
+ while bytes > 0:
+ sent = self.sock.send(data)
+ if sent == bytes:
+ break # avoid copy
+ data = data[sent:]
+ bytes = bytes - sent
def shutdown(self):