From: Antoine Pitrou Date: Sun, 18 Apr 2010 11:16:24 +0000 (+0000) Subject: Fix bootstrap after r80166 X-Git-Tag: v2.7b2~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ac74168b9e61ad212017bd848ea98f799b88527;p=python Fix bootstrap after r80166 --- diff --git a/Lib/platform.py b/Lib/platform.py index 495433d525..b213a925b8 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(