summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-10-08 17:40:02 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2006-10-08 17:40:02 (GMT)
commit3778bf526c7c5f9e54979abdc67294689eeee56f (patch)
tree460400523d1b405f6503aabb3fc8d55af8778b27 /Mac
parent5b5d110be67f1ed30874d04fcc13926f6ef00c9a (diff)
downloadcpython-3778bf526c7c5f9e54979abdc67294689eeee56f.zip
cpython-3778bf526c7c5f9e54979abdc67294689eeee56f.tar.gz
cpython-3778bf526c7c5f9e54979abdc67294689eeee56f.tar.bz2
Fix for bug #1570284
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/PythonLauncher/FileSettings.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/PythonLauncher/FileSettings.m b/Mac/PythonLauncher/FileSettings.m
index ba375ba..1f3695e 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" : " &"];
}