summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/util.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2012-02-09 20:17:46 (GMT)
committerÉric Araujo <merwok@netwok.org>2012-02-09 20:17:46 (GMT)
commitac03a2b089ff73edb7a4080e51715a6e7d015b1d (patch)
tree05a8db9159aa98d89aae3da3ee23b181a22b2cf9 /Lib/packaging/util.py
parent5c69b66086e9665b4e9afefa7854cbd966d386e4 (diff)
downloadcpython-ac03a2b089ff73edb7a4080e51715a6e7d015b1d.zip
cpython-ac03a2b089ff73edb7a4080e51715a6e7d015b1d.tar.gz
cpython-ac03a2b089ff73edb7a4080e51715a6e7d015b1d.tar.bz2
Remove unneeded import
Diffstat (limited to 'Lib/packaging/util.py')
-rw-r--r--Lib/packaging/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/util.py b/Lib/packaging/util.py
index 5b651b1..fff919c 100644
--- a/Lib/packaging/util.py
+++ b/Lib/packaging/util.py
@@ -1049,7 +1049,6 @@ def cfg_to_args(path='setup.cfg'):
SETUP_TEMPLATE = """\
# This script was automatically generated by packaging
-import os
import codecs
from distutils.core import setup
try:
@@ -1057,6 +1056,7 @@ try:
except ImportError:
from configparser import RawConfigParser
+
%(split_multiline)s
%(cfg_to_args)s