summaryrefslogtreecommitdiff
path: root/Lib/packaging/compiler/ccompiler.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-09-17 03:31:51 +0200
committerÉric Araujo <merwok@netwok.org>2011-09-17 03:31:51 +0200
commit7724a6c10c56a1b14b4933de368e672eae840f47 (patch)
tree1b3bd60ab9b79bd018cbc942a8e12140b2e18576 /Lib/packaging/compiler/ccompiler.py
parent37ccd6f794539e0678b7a7ad938e571cc73e106c (diff)
downloadcpython-git-7724a6c10c56a1b14b4933de368e672eae840f47.tar.gz
Packaging cleanup: remove conditionals for < 2.6 support.
PEP 370 features and sys.dont_write_bytecode are always available in 3.3; the distutils2 backport still has the conditionals. I also renamed an internal misnamed method and fixed a few things (“packaging2” name, stray print, unused import, fd leak).
Diffstat (limited to 'Lib/packaging/compiler/ccompiler.py')
-rw-r--r--Lib/packaging/compiler/ccompiler.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/packaging/compiler/ccompiler.py b/Lib/packaging/compiler/ccompiler.py
index d2743274fd..02e22d2b3e 100644
--- a/Lib/packaging/compiler/ccompiler.py
+++ b/Lib/packaging/compiler/ccompiler.py
@@ -5,7 +5,6 @@ interface for the compiler abstraction model used by packaging.
"""
import os
-import sys
from shutil import move
from packaging import logger
from packaging.util import split_quoted, execute, newer_group, spawn