[Python-checkins] r52229 - python/trunk/Mac/PythonLauncher/FileSettings.m

ronald.oussoren python-checkins at python.org
Sun Oct 8 19:40:02 CEST 2006


Author: ronald.oussoren
Date: Sun Oct 8 19:40:02 2006
New Revision: 52229
Modified:
 python/trunk/Mac/PythonLauncher/FileSettings.m
Log:
Fix for bug #1570284
Modified: python/trunk/Mac/PythonLauncher/FileSettings.m
==============================================================================
--- python/trunk/Mac/PythonLauncher/FileSettings.m	(original)
+++ python/trunk/Mac/PythonLauncher/FileSettings.m	Sun Oct 8 19:40:02 2006
@@ -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" : " &"];
 }
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /