Commit 2a4ac571 authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

Updated import statements to use the new `configparser` module name.

Updated the documentation to use the new name.
Revert addition of the stub entry for the old name.

Georg, I am reverting your changes since this commit should propagate
to py3k.
parent 34cbcc09
...@@ -10,7 +10,7 @@ from hashlib import md5 ...@@ -10,7 +10,7 @@ from hashlib import md5
import os import os
import socket import socket
import platform import platform
import ConfigParser import configparser
import httplib import httplib
import base64 import base64
import urlparse import urlparse
......
...@@ -5,7 +5,7 @@ that uses .pypirc in the distutils.command package. ...@@ -5,7 +5,7 @@ that uses .pypirc in the distutils.command package.
""" """
import os import os
import sys import sys
from ConfigParser import ConfigParser from configparser import ConfigParser
from distutils.core import Command from distutils.core import Command
......
...@@ -359,7 +359,7 @@ Common commands: (see '--help-commands' for more) ...@@ -359,7 +359,7 @@ Common commands: (see '--help-commands' for more)
def parse_config_files (self, filenames=None): def parse_config_files (self, filenames=None):
from ConfigParser import ConfigParser from configparser import ConfigParser
if filenames is None: if filenames is None:
filenames = self.find_config_files() 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