[Python-checkins] r63324 - python/trunk/Lib/distutils/config.py

andrew.kuchling python-checkins at python.org
Thu May 15 22:07:39 CEST 2008


Author: andrew.kuchling
Date: Thu May 15 22:07:39 2008
New Revision: 63324

Log:
Import class from distutils.cmd, not .core, to avoid circular import

Modified:
   python/trunk/Lib/distutils/config.py

Modified: python/trunk/Lib/distutils/config.py
==============================================================================
--- python/trunk/Lib/distutils/config.py	(original)
+++ python/trunk/Lib/distutils/config.py	Thu May 15 22:07:39 2008
@@ -7,7 +7,7 @@
 import sys
 from configparser import ConfigParser
 
-from distutils.core import Command
+from distutils.cmd import Command
 
 DEFAULT_PYPIRC = """\
 [pypirc]


More information about the Python-checkins mailing list