From d6bebce5e5a6e92b6949dd001d3d467a7aa1aaef Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 22 Oct 2001 00:42:26 +0000 Subject: Make tabnanny happy. (Piers, please run the test suite before checking in changes. The test suite requires consistent use of spaces and tabs.) --- Lib/imaplib.py | 14 +++++++------- 1 file 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): -- cgit v0.12