Patch #2167 from calvin: Remove unused imports

This commit is contained in:
Christian Heimes 2008-02-23 17:40:11 +00:00
parent 19aff0c90a
commit c5f05e45cf
203 changed files with 77 additions and 243 deletions

View file

@ -34,7 +34,7 @@ XXX This code was created by reverse engineering CVS 1.9 and RCS 5.7
from their output.
"""
import os, sys, errno, getopt, re
import sys, errno, getopt, re
sep1 = '='*77 + '\n' # file separator
sep2 = '-'*28 + '\n' # revision separator

View file

@ -34,7 +34,7 @@ Even if this isn't the default output of your nm, there is generally an
option to produce this format (since it is the original v7 Unix format).
"""
import os,re,sys
import os, sys
PYTHONLIB = 'libpython'+sys.version[:3]+'.a'
PC_PYTHONLIB = 'Python'+sys.version[0]+sys.version[2]+'.dll'

View file

@ -81,7 +81,6 @@ STEPSIZE = 8
TABSIZE = 8
EXPANDTABS = 0
import os
import re
import sys

View file

@ -20,7 +20,7 @@ __author__ = "Oleg Broytmann, Georg Brandl"
__all__ = ["has_python_ext", "looks_like_python", "can_be_compiled", "walk_python_files"]
import sys, os, re
import os, re
binary_re = re.compile('[\x00-\x08\x0E-\x1F\x7F]')

View file

@ -7,7 +7,6 @@
import sys
import os
from stat import *
import commands
import fnmatch
EXECMAGIC = '\001\140\000\010'