[Python-checkins] r80171 - python/trunk/Lib/platform.py

antoine.pitrou python-checkins at python.org
Sun Apr 18 13:16:24 CEST 2010


Author: antoine.pitrou
Date: Sun Apr 18 13:16:24 2010
New Revision: 80171

Log:
Fix bootstrap after r80166



Modified:
   python/trunk/Lib/platform.py

Modified: python/trunk/Lib/platform.py
==============================================================================
--- python/trunk/Lib/platform.py	(original)
+++ python/trunk/Lib/platform.py	Sun Apr 18 13:16:24 2010
@@ -113,7 +113,7 @@
 
 __version__ = '1.0.7'
 
-import sys, string, os, re, subprocess
+import sys, string, os, re
 
 ### Globals & Constants
 
@@ -966,6 +966,7 @@
     if sys.platform in ('dos','win32','win16','os2'):
         # XXX Others too ?
         return default
+    import subprocess
     target = _follow_symlinks(target)
     try:
         proc = subprocess.Popen(


More information about the Python-checkins mailing list