Make tabnanny happy. (Piers, please run the test suite before
checking in changes. The test suite requires consistent use of spaces and tabs.)
This commit is contained in:
parent
fe6accfc36
commit
d6bebce5e5
|
@ -222,13 +222,13 @@ class IMAP4:
|
||||||
|
|
||||||
def send(self, data):
|
def send(self, data):
|
||||||
"""Send data to remote."""
|
"""Send data to remote."""
|
||||||
bytes = len(data)
|
bytes = len(data)
|
||||||
while bytes > 0:
|
while bytes > 0:
|
||||||
sent = self.sock.send(data)
|
sent = self.sock.send(data)
|
||||||
if sent == bytes:
|
if sent == bytes:
|
||||||
break # avoid copy
|
break # avoid copy
|
||||||
data = data[sent:]
|
data = data[sent:]
|
||||||
bytes = bytes - sent
|
bytes = bytes - sent
|
||||||
|
|
||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
|
|
Loading…
Reference in New Issue