From: Jason R. Coombs Date: Fri, 14 Oct 2016 18:06:28 +0000 (-0400) Subject: Remove wildcard imports from distutils.command.sdist X-Git-Tag: v3.7.0a1~2232 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9bba2bcc05ac019d916995894cc471914f94506;p=thirdparty%2FPython%2Fcpython.git Remove wildcard imports from distutils.command.sdist --- diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py index 4fd1d4715de2..690bd66f2c42 100644 --- a/Lib/distutils/command/sdist.py +++ b/Lib/distutils/command/sdist.py @@ -4,17 +4,17 @@ Implements the Distutils 'sdist' command (create a source distribution).""" import os import sys -from types import * from glob import glob from warnings import warn from distutils.core import Command from distutils import dir_util, dep_util, file_util, archive_util from distutils.text_file import TextFile -from distutils.errors import * from distutils.filelist import FileList from distutils import log from distutils.util import convert_path +from distutils.errors import DistutilsTemplateError, DistutilsOptionError + def show_formats(): """Print all possible values for the 'formats' option (used by