[Python-checkins] cpython (3.2): #12274: use proper escaping for % in IDLE config.

lukasz.langa python-checkins at python.org
Tue Jun 7 15:21:45 CEST 2011


http://hg.python.org/cpython/rev/0aa3064d1cef
changeset:   70700:0aa3064d1cef
branch:      3.2
parent:      70698:3ac7f71696a1
user:        Łukasz Langa <lukasz at langa.pl>
date:        Tue Jun 07 15:19:44 2011 +0200
summary:
  #12274: use proper escaping for % in IDLE config.

files:
  Lib/idlelib/config-main.def |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/idlelib/config-main.def b/Lib/idlelib/config-main.def
--- a/Lib/idlelib/config-main.def
+++ b/Lib/idlelib/config-main.def
@@ -46,8 +46,8 @@
 [General]
 editor-on-startup= 0
 autosave= 0
-print-command-posix=lpr %s
-print-command-win=start /min notepad /p %s
+print-command-posix=lpr %%s
+print-command-win=start /min notepad /p %%s
 delete-exitfunc= 1
 
 [EditorWindow]

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list