From: Jeremy Hylton Date: Tue, 4 Jun 2002 20:18:24 +0000 (+0000) Subject: Remove unused imports caught by pychecker X-Git-Tag: v2.3c1~5479 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=332a1461274c356d38f558b27096708879fc36b4;p=thirdparty%2FPython%2Fcpython.git Remove unused imports caught by pychecker --- diff --git a/Lib/distutils/command/bdist_pkgtool.py b/Lib/distutils/command/bdist_pkgtool.py index 4fd95012a2bc..9d6e7dc1100a 100644 --- a/Lib/distutils/command/bdist_pkgtool.py +++ b/Lib/distutils/command/bdist_pkgtool.py @@ -7,7 +7,6 @@ Implements the Distutils 'bdist_pkgtool' command (create Solaris pkgtool distributions).""" import os, string, sys, pwd, grp -import glob from types import * from distutils.core import Command, DEBUG from distutils.util import get_platform @@ -16,7 +15,6 @@ from distutils.errors import * from distutils.command import bdist_packager from distutils import sysconfig from distutils import log -import compileall from commands import getoutput __revision__ = "$Id: bdist_pkgtool.py,v 0.3 mwa " diff --git a/Lib/distutils/command/bdist_sdux.py b/Lib/distutils/command/bdist_sdux.py index e4765f97df6b..a3cbbb8a3fdf 100644 --- a/Lib/distutils/command/bdist_sdux.py +++ b/Lib/distutils/command/bdist_sdux.py @@ -7,7 +7,6 @@ swinstall depot""" __revision__ = "$Id: bdist_sdux.py,v 0.2 " import os, string -import glob from types import * from distutils.core import Command, DEBUG from distutils.util import get_platform diff --git a/Lib/distutils/filelist.py b/Lib/distutils/filelist.py index d39c835869ba..3ed6f03291cf 100644 --- a/Lib/distutils/filelist.py +++ b/Lib/distutils/filelist.py @@ -11,7 +11,7 @@ and building lists of files. __revision__ = "$Id$" -import sys, os, string, re +import os, string, re import fnmatch from types import * from glob import glob diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py index 55a51b320161..56d3ee44cbdd 100644 --- a/Lib/distutils/unixccompiler.py +++ b/Lib/distutils/unixccompiler.py @@ -17,7 +17,7 @@ the "typical" Unix-style command-line C compiler: __revision__ = "$Id$" -import string, re, os, sys +import os, sys from types import * from copy import copy from distutils import sysconfig