Revert distutils changes done in r63248.

As explained by Marc-Andre Lemburg, distutils needs to stay
backward-compatible. Therefore, it should use the old ConfigParser
module name.
This commit is contained in:
Alexandre Vassalotti 2008-05-15 00:33:57 +00:00
parent c92fef9a3e
commit 7663f9e4ff
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ from hashlib import md5
import os
import socket
import platform
import configparser
import ConfigParser
import httplib
import base64
import urlparse

View File

@ -5,7 +5,7 @@ that uses .pypirc in the distutils.command package.
"""
import os
import sys
from configparser import ConfigParser
from ConfigParser import ConfigParser
from distutils.core import Command

View File

@ -359,7 +359,7 @@ Common commands: (see '--help-commands' for more)
def parse_config_files (self, filenames=None):
from configparser import ConfigParser
from ConfigParser import ConfigParser
if filenames is None:
filenames = self.find_config_files()