diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-07 09:54:08 +0200 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-07 09:54:08 +0200 |
commit | 071029fac6c074c801d5dc292d250c77c189ea3f (patch) | |
tree | a1d03a323fb8f9668357aed04ab8180a00ce1b9a /Mac/PythonLauncher/MyAppDelegate.m | |
parent | 5f8e78545ce03c12207cff711001e162539beb75 (diff) | |
parent | 4e327c9d1cd8f7c7abbc5b9fa4384a801ff3fe59 (diff) | |
download | cpython-git-071029fac6c074c801d5dc292d250c77c189ea3f.tar.gz |
(3.3->default) 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 a5ba751078..e75fb06616 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 |