diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2006-10-08 17:40:02 +0000 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2006-10-08 17:40:02 +0000 |
commit | 60bb601e929ee95ac99e07c1883f49f26ca2e7f1 (patch) | |
tree | e057334aaef51b5613f13ca782e573229e6d9692 /Mac/PythonLauncher | |
parent | 970edae652ec0295d3b4445d3770f2370abcef6d (diff) | |
download | cpython-60bb601e929ee95ac99e07c1883f49f26ca2e7f1.tar.gz |
Fix for bug #1570284
Diffstat (limited to 'Mac/PythonLauncher')
-rwxr-xr-x | Mac/PythonLauncher/FileSettings.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/PythonLauncher/FileSettings.m b/Mac/PythonLauncher/FileSettings.m index ba375ba7b0..1f3695eec1 100755 --- a/Mac/PythonLauncher/FileSettings.m +++ b/Mac/PythonLauncher/FileSettings.m @@ -207,7 +207,7 @@ [NSNumber numberWithBool: inspect], @"inspect", [NSNumber numberWithBool: optimize], @"optimize", [NSNumber numberWithBool: nosite], @"nosite", - [NSNumber numberWithBool: nosite], @"nosite", + [NSNumber numberWithBool: tabs], @"tabs", others, @"others", scriptargs, @"scriptargs", [NSNumber numberWithBool: with_terminal], @"with_terminal", @@ -235,7 +235,7 @@ if (value) optimize = [value boolValue]; value = [dict objectForKey: @"nosite"]; if (value) nosite = [value boolValue]; - value = [dict objectForKey: @"nosite"]; + value = [dict objectForKey: @"tabs"]; if (value) tabs = [value boolValue]; value = [dict objectForKey: @"others"]; if (value) others = [value retain]; @@ -291,7 +291,7 @@ tabs?" -t":"", others, [self _replaceSingleQuotes:script], - scriptargs, + scriptargs ? scriptargs : @"", with_terminal? "&& echo Exit status: $? && exit 1" : " &"]; } |