components/python/python26/patches/Python26-04-distutils-log.patch
branchs11u3-sru
changeset 7811 9126e6f58cd8
parent 7792 ee802f9b5132
child 7816 79ee06fdecc5
equal deleted inserted replaced
7792:ee802f9b5132 7811:9126e6f58cd8
     1 diff --git Python-2.6.4/Lib/distutils/spawn.py Python-2.6.4/Lib/distutils/spawn.py
       
     2 --- Python-2.6.4/Lib/distutils/spawn.py
       
     3 +++ Python-2.6.4/Lib/distutils/spawn.py
       
     4 @@ -73,7 +73,7 @@
       
     5      if search_path:
       
     6          # either we find one or it stays the same
       
     7          executable = find_executable(executable) or executable
       
     8 -    log.info(string.join([executable] + cmd[1:], ' '))
       
     9 +    log.info("%s", string.join([executable] + cmd[1:], ' '))
       
    10      if not dry_run:
       
    11          # spawn for NT requires a full path to the .exe
       
    12          try:
       
    13 @@ -98,7 +98,7 @@
       
    14      if search_path:
       
    15          # either we find one or it stays the same
       
    16          executable = find_executable(executable) or executable
       
    17 -    log.info(string.join([executable] + cmd[1:], ' '))
       
    18 +    log.info("%s", string.join([executable] + cmd[1:], ' '))
       
    19      if not dry_run:
       
    20          # spawnv for OS/2 EMX requires a full path to the .exe
       
    21          try:
       
    22 @@ -119,7 +119,7 @@
       
    23                    verbose=0,
       
    24                    dry_run=0):
       
    25  
       
    26 -    log.info(string.join(cmd, ' '))
       
    27 +    log.info("%s", string.join(cmd, ' '))
       
    28      if dry_run:
       
    29          return
       
    30      exec_fn = search_path and os.execvp or os.execv