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:
parent
c92fef9a3e
commit
7663f9e4ff
|
@ -10,7 +10,7 @@ from hashlib import md5
|
|||
import os
|
||||
import socket
|
||||
import platform
|
||||
import configparser
|
||||
import ConfigParser
|
||||
import httplib
|
||||
import base64
|
||||
import urlparse
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue