[Python-checkins] r52230 - python/branches/release25-maint/Mac/PythonLauncher/FileSettings.m

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


Author: ronald.oussoren
Date: Sun Oct  8 19:40:52 2006
New Revision: 52230

Modified:
   python/branches/release25-maint/Mac/PythonLauncher/FileSettings.m
Log:
Backport of r52229


Modified: python/branches/release25-maint/Mac/PythonLauncher/FileSettings.m
==============================================================================
--- python/branches/release25-maint/Mac/PythonLauncher/FileSettings.m	(original)
+++ python/branches/release25-maint/Mac/PythonLauncher/FileSettings.m	Sun Oct  8 19:40:52 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