diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-07 07:53:08 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-07 07:53:08 (GMT) |
commit | 4e327c9d1cd8f7c7abbc5b9fa4384a801ff3fe59 (patch) | |
tree | 86c7d6e4381d92af59f8df4ec9faaf74a1f2f11a /Mac/PythonLauncher/MyAppDelegate.m | |
parent | 385521c90e35565ceb1bc54ab31b217321fd2d84 (diff) | |
download | cpython-4e327c9d1cd8f7c7abbc5b9fa4384a801ff3fe59.zip cpython-4e327c9d1cd8f7c7abbc5b9fa4384a801ff3fe59.tar.gz cpython-4e327c9d1cd8f7c7abbc5b9fa4384a801ff3fe59.tar.bz2 |
Issue #18377: Code cleanup in Python Launcher
This changeset fixes a number of compiler warnings in the Python Launcher
binary for OSX. It also cleans up whitespace usage in those sources.
Diffstat (limited to 'Mac/PythonLauncher/MyAppDelegate.m')
-rw-r--r-- | Mac/PythonLauncher/MyAppDelegate.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/PythonLauncher/MyAppDelegate.m b/Mac/PythonLauncher/MyAppDelegate.m index a5ba751..e75fb06 100644 --- a/Mac/PythonLauncher/MyAppDelegate.m +++ b/Mac/PythonLauncher/MyAppDelegate.m @@ -33,7 +33,7 @@ - (BOOL)shouldShowUI { - // if this call comes before applicationDidFinishLaunching: we + // if this call comes before applicationDidFinishLaunching: we // should terminate immedeately after starting the script. if (!initial_action_done) should_terminate = YES; @@ -62,7 +62,7 @@ static NSString *extensions[] = { @"py", @"pyw", @"pyc", NULL}; NSString **ext_p; int i; - + if ([[NSUserDefaults standardUserDefaults] boolForKey: @"SkipFileBindingTest"]) return; ourUrl = [NSURL fileURLWithPath: [[NSBundle mainBundle] bundlePath]]; @@ -92,5 +92,5 @@ } } } - + @end |