Commit 04c09e98 authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

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.
parent 2a4ac571
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment