]> granicus.if.org Git - python/commitdiff
Whitespace normalization.
authorTim Peters <tim.peters@gmail.com>
Tue, 30 Oct 2001 05:56:40 +0000 (05:56 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 30 Oct 2001 05:56:40 +0000 (05:56 +0000)
Lib/imaplib.py
Lib/os.py
Lib/test/regrtest.py
Lib/test/test_mimetypes.py

index 813b67c68b02f8b9ba9410c366f5caf839a16ddc..cbcf107dc60c1ffc7b846de4309814bca4542c1c 100644 (file)
@@ -226,7 +226,7 @@ class IMAP4:
         while bytes > 0:
             sent = self.sock.send(data)
             if sent == bytes:
-                break  # avoid copy
+                break   # avoid copy
             data = data[sent:]
             bytes = bytes - sent
 
index e13c2f940afebb6f441526703a95a5a566b4641b..bf31ddcce0df47a045b9662382621d94a962bed6 100644 (file)
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -362,7 +362,7 @@ else:
     import UserDict
 
     # Fake unsetenv() for Windows
-    # not sure about os2 and dos here but 
+    # not sure about os2 and dos here but
     # I'm guessing they are the same.
 
     if name in ('os2', 'nt', 'dos'):
@@ -421,7 +421,7 @@ else:
                 def __delitem__(self, key):
                     unsetenv(key)
                     del self.data[key]
-                
+
 
     environ = _Environ(environ)
 
index b2bb7acc0ced109fa7bc84e09704b9fa9bb37117..329800cbc0f627efffedc5dab1dc866c4e02c1b3 100755 (executable)
@@ -38,7 +38,7 @@ only the following are defined:
 
     curses -    Tests that use curses and will modify the terminal's
                 state and output modes.
-                
+
     largefile - It is okay to run some test that may create huge files.  These
                 tests can take a long time and may consume >2GB of disk space
                 temporarily.
index bca5766a729268364ffd6c64899c031093aff9b0..d0a32a9ffaf2bda464bd2538b79a988ce202b126 100644 (file)
@@ -39,7 +39,7 @@ class MimeTypesTestCase(unittest.TestCase):
                          ".pyunit")
 
     def test_non_standard_types(self):
-        # First try strict 
+        # First try strict
         self.assertEqual(self.db.guess_type('foo.xul', strict=1),
                          (None, None))
         self.assertEqual(self.db.guess_extension('image/jpg', strict=1),