mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 18:14:21 +02:00
Drop support for EOL Python 2.6 and 3.3
* Drop support for EOL Python 2.6 * Use more helpful assertIn/NotIn instead of assertTrue/False * Drop support for EOL Python 3.3 * Remove redundant Python 3.3 code * Restore code for RHEL 6 and virtualenv for Py2.7 * Revert pipstrap.py to upstream * Merge py26_packages and non_py26_packages into all_packages * Revert changes to *-auto in root * Update by calling letsencrypt-auto-source/build.py * Revert permissions for pipstrap.py
This commit is contained in:
@@ -5,7 +5,6 @@ from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import atexit
|
||||
import contextlib
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
@@ -302,8 +301,7 @@ def main():
|
||||
make_and_verify_selection(args.server_root, tempdir)
|
||||
|
||||
tarpath = os.path.join(tempdir, "config.tar.gz")
|
||||
# contextlib.closing used for py26 support
|
||||
with contextlib.closing(tarfile.open(tarpath, mode="w:gz")) as tar:
|
||||
with tarfile.open(tarpath, mode="w:gz") as tar:
|
||||
tar.add(tempdir, arcname=".")
|
||||
|
||||
# TODO: Submit tarpath
|
||||
|
||||
Reference in New Issue
Block a user