summaryrefslogtreecommitdiff
path: root/ez_setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-11-27 13:12:11 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-11-27 13:12:11 -0500
commit373ed664bf8d16b0a96edaa607a82e89f64453eb (patch)
tree197e77d8946a42385b371fd4dec78a5a9ddbefa2 /ez_setup.py
parent79e0d772345dd1ca9de73635c9eac47bb505ae03 (diff)
downloadpython-setuptools-git-373ed664bf8d16b0a96edaa607a82e89f64453eb.tar.gz
Remove Python 2.4 compatibility from ez_setup.py
Diffstat (limited to 'ez_setup.py')
-rw-r--r--ez_setup.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/ez_setup.py b/ez_setup.py
index 79e5c46a..bb451114 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -37,15 +37,6 @@ def _python_cmd(*args):
args = (sys.executable,) + args
return subprocess.call(args) == 0
-def _check_call_py24(cmd, *args, **kwargs):
- res = subprocess.call(cmd, *args, **kwargs)
- class CalledProcessError(Exception):
- pass
- if not res == 0:
- msg = "Command '%s' return non-zero exit status %d" % (cmd, res)
- raise CalledProcessError(msg)
-vars(subprocess).setdefault('check_call', _check_call_py24)
-
def _install(tarball, install_args=()):
# extracting the tarball
tmpdir = tempfile.mkdtemp()