[Python-checkins] python/dist/src/Mac/OSX fixapplepython23.py, 1.3, 1.4

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Fri Jan 7 17:02:02 CET 2005


Update of /cvsroot/python/python/dist/src/Mac/OSX
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4661/Mac/OSX

Modified Files:
	fixapplepython23.py 
Log Message:
Whitespace normalization.


Index: fixapplepython23.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/OSX/fixapplepython23.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- fixapplepython23.py	1 Jan 2005 22:33:36 -0000	1.3
+++ fixapplepython23.py	7 Jan 2005 16:01:24 -0000	1.4
@@ -43,12 +43,12 @@
         if lines[i][:len(start)] == start:
             return i
     return -1
-    
+
 def fix(makefile, do_apply):
     """Fix the Makefile, if required."""
     fixed = False
     lines = open(makefile).readlines()
-    
+
     for old, new in CHANGES:
         i = findline(lines, new)
         if i >= 0:
@@ -61,7 +61,7 @@
             return 2
         lines[i] = new
         fixed = True
-       
+
     if fixed:
         if do_apply:
             print 'fixapplepython23: Fix to Apple-installed Python 2.3 applied'
@@ -74,7 +74,7 @@
     else:
         print 'fixapplepython23: No fix needed, appears to have been applied before'
         return 0
-        
+
 def makescript(filename, compiler):
     """Create a wrapper script for a compiler"""
     dirname = os.path.split(filename)[0]
@@ -85,7 +85,7 @@
     fp.close()
     os.chmod(filename, 0755)
     print 'fixapplepython23: Created', filename
-    
+
 def main():
     # Check for -n option
     if len(sys.argv) > 1 and sys.argv[1] == '-n':
@@ -113,7 +113,6 @@
     #  Finally fix the makefile
     rv = fix(MAKEFILE, do_apply)
     sys.exit(rv)
-    
+
 if __name__ == '__main__':
     main()
-    



More information about the Python-checkins mailing list