]> granicus.if.org Git - python/commitdiff
Whitespace normalization.
authorTim Peters <tim.peters@gmail.com>
Sat, 16 Feb 2002 07:34:19 +0000 (07:34 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 16 Feb 2002 07:34:19 +0000 (07:34 +0000)
Lib/compiler/pycodegen.py
Lib/dumbdbm.py
Lib/ftplib.py
Lib/test/test_StringIO.py

index 4194d27e25e7167d2b680ad8a2dc94e68500acda..c107a085bd9da9a4cffcf6986edcd86516c56855 100644 (file)
@@ -1187,7 +1187,7 @@ class InteractiveCodeGenerator(NestedScopeMixin, CodeGenerator):
 
     def get_module(self):
         return self
-    
+
     def visitDiscard(self, node):
         # XXX Discard means it's an expression.  Perhaps this is a bad
         # name.
index 920a464d4f3cb97200399283c741b7579891b4ac..3fb6e1dc228de7dfaaaaf83a27d5a704ea5d1686 100644 (file)
@@ -150,7 +150,7 @@ class _Database:
     def __del__(self):
         if self._index is not None:
             self._commit()
-  
+
 
 
 def open(file, flag=None, mode=0666):
index 436f13db1673d62457cc3532ca980e9ce83efc22..6234f7f21eb643901034779e8b70a1c47b2809b1 100644 (file)
@@ -351,13 +351,13 @@ class FTP:
         if not passwd: passwd = ''
         if not acct: acct = ''
         if user == 'anonymous' and passwd in ('', '-'):
-           # If there is no anonymous ftp password specified
-           # then we'll just use anonymous@
-           # We don't send any other thing because:
-           # - We want to remain anonymous
-           # - We want to stop SPAM
-           # - We don't want to let ftp sites to discriminate by the user,
-           #   host or country.
+            # If there is no anonymous ftp password specified
+            # then we'll just use anonymous@
+            # We don't send any other thing because:
+            # - We want to remain anonymous
+            # - We want to stop SPAM
+            # - We don't want to let ftp sites to discriminate by the user,
+            #   host or country.
             passwd = passwd + 'anonymous@'
         resp = self.sendcmd('USER ' + user)
         if resp[0] == '3': resp = self.sendcmd('PASS ' + passwd)
index bf3640cf75e56983ef1c382e044c3d5350abda02..a340e3b6aeeb43da76107ff3d617245b2b488d3a 100644 (file)
@@ -76,7 +76,7 @@ class TestStringIO(TestGenericStringIO):
         # The StringIO module also supports concatenating Unicode
         # snippets to larger Unicode strings. This is tested by this
         # method. Note that cStringIO does not support this extension.
-        
+
         f = self.MODULE.StringIO()
         f.write(self._line[:6])
         f.seek(3)