[patch] whilespace-normalize generate-osx-source-and-headers.py

Matthias Klose doko@ubuntu.com
Tue Jun 26 16:15:00 GMT 2012


seen, while updating the libffi copy in the python repository.

	* generate-osx-source-and-headers.py: Normalize whitespace.


-------------- next part --------------
diff -r 25421e1c48bb -r be2bc6d8e622 Modules/_ctypes/libffi/generate-osx-source-and-headers.py
--- a/Modules/_ctypes/libffi/generate-osx-source-and-headers.py	Tue Jun 26 17:56:44 2012 +0200
+++ b/Modules/_ctypes/libffi/generate-osx-source-and-headers.py	Tue Jun 26 17:59:32 2012 +0200
@@ -40,7 +40,7 @@
     name = 'mac32'
     triple = 'i386-apple-darwin10'
     sdkroot = desktop_sdk_info['Path']
-    
+
     prefix = "#if defined(__i386__) && !defined(__x86_64__)\n\n"
     suffix = "\n\n#endif"
 
@@ -50,14 +50,14 @@
     name = 'mac'
     triple = 'x86_64-apple-darwin10'
     sdkroot = desktop_sdk_info['Path']
-    
+
     prefix = "#if !defined(__i386__) && defined(__x86_64__)\n\n"
     suffix = "\n\n#endif"
 
 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''):
     if not os.path.exists(dst_dir):
         os.makedirs(dst_dir)
-    
+
     out_filename = filename
 
     if file_suffix:
@@ -114,7 +114,7 @@
         return subprocess.check_output(['xcrun', '-sdk', platform.sdkroot, '-find', cmd]).strip()
 
     build_dir = 'build_' + platform.name
-    if not os.path.exists(build_dir):    
+    if not os.path.exists(build_dir):
         os.makedirs(build_dir)
         env = dict(CC=xcrun_cmd('clang'),
                    LD=xcrun_cmd('ld'),


More information about the Libffi-discuss mailing list