From: Tim Peters Date: Tue, 30 Oct 2001 05:56:40 +0000 (+0000) Subject: Whitespace normalization. X-Git-Tag: v2.2.1c1~960 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1633a2e3452b40d0e9bb1f15ab16cd6b90f15a19;p=python Whitespace normalization. --- diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 813b67c68b..cbcf107dc6 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -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 diff --git a/Lib/os.py b/Lib/os.py index e13c2f940a..bf31ddcce0 100644 --- 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) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index b2bb7acc0c..329800cbc0 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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. diff --git a/Lib/test/test_mimetypes.py b/Lib/test/test_mimetypes.py index bca5766a72..d0a32a9ffa 100644 --- a/Lib/test/test_mimetypes.py +++ b/Lib/test/test_mimetypes.py @@ -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),