]> granicus.if.org Git - python/commitdiff
Import class from distutils.cmd, not .core, to avoid circular import
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 15 May 2008 20:07:39 +0000 (20:07 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 15 May 2008 20:07:39 +0000 (20:07 +0000)
Lib/distutils/config.py

index e9ba40260cafda26526798f0fa8ce5a7ee0e31d1..edba47f579d79dec214d213add6845d5db7a3fed 100644 (file)
@@ -7,7 +7,7 @@ import os
 import sys
 from configparser import ConfigParser
 
-from distutils.core import Command
+from distutils.cmd import Command
 
 DEFAULT_PYPIRC = """\
 [pypirc]