]> granicus.if.org Git - python/commitdiff
Make tabnanny happy. (Piers, please run the test suite before
authorGuido van Rossum <guido@python.org>
Mon, 22 Oct 2001 00:42:26 +0000 (00:42 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 22 Oct 2001 00:42:26 +0000 (00:42 +0000)
checking in changes.  The test suite requires consistent use of spaces
and tabs.)

Lib/imaplib.py

index dd6e797b265c361fac4e4338b84f4265b5a8472f..813b67c68b02f8b9ba9410c366f5caf839a16ddc 100644 (file)
@@ -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):