[Python-checkins] cpython (3.2): Add another set of quotes to make cmd.exe happy.

martin.v.loewis python-checkins at python.org
Fri May 18 14:25:55 CEST 2012


http://hg.python.org/cpython/rev/640a0300ba85
changeset:   77023:640a0300ba85
branch:      3.2
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Fri May 18 14:17:43 2012 +0200
summary:
  Add another set of quotes to make cmd.exe happy.

files:
  PCbuild/build_ssl.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py
--- a/PCbuild/build_ssl.py
+++ b/PCbuild/build_ssl.py
@@ -46,7 +46,7 @@
 # is available.
 def find_working_perl(perls):
     for perl in perls:
-        fh = os.popen('"%s" -e "use Win32;"' % perl)
+        fh = os.popen('""%s" -e "use Win32;""' % perl)
         fh.read()
         rc = fh.close()
         if rc:

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


More information about the Python-checkins mailing list