summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-04-18 11:16:24 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-04-18 11:16:24 (GMT)
commit5ac74168b9e61ad212017bd848ea98f799b88527 (patch)
tree8e424cfd21998304edc334b6c17da7134eb24c0a
parentb2a0a434a83ef94f5b0b72ed1465be2ca967439e (diff)
downloadcpython-5ac74168b9e61ad212017bd848ea98f799b88527.zip
cpython-5ac74168b9e61ad212017bd848ea98f799b88527.tar.gz
cpython-5ac74168b9e61ad212017bd848ea98f799b88527.tar.bz2
Fix bootstrap after r80166
-rwxr-xr-xLib/platform.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/platform.py b/Lib/platform.py
index 495433d..b213a92 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -113,7 +113,7 @@ __copyright__ = """
__version__ = '1.0.7'
-import sys, string, os, re, subprocess
+import sys, string, os, re
### Globals & Constants
@@ -966,6 +966,7 @@ def _syscmd_file(target,default=''):
if sys.platform in ('dos','win32','win16','os2'):
# XXX Others too ?
return default
+ import subprocess
target = _follow_symlinks(target)
try:
proc = subprocess.Popen(