From ae6268ea3c258df415a6453c8dd4c25b93bf6b2e Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 10 Jun 2023 16:44:58 -0400 Subject: [PATCH] Remove workaround that's not relevant since py2 isn't supported (#9716) --- certbot/setup.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/certbot/setup.py b/certbot/setup.py index 15ca1f865..35924ca07 100644 --- a/certbot/setup.py +++ b/certbot/setup.py @@ -14,14 +14,6 @@ min_setuptools_version='41.6.0' if parse_version(setuptools_version) < parse_version(min_setuptools_version): raise RuntimeError(f'setuptools {min_setuptools_version}+ is required') -# Workaround for https://bugs.python.org/issue8876, see -# https://bugs.python.org/issue8876#msg208792 -# This can be removed when using Python 2.7.9 or later: -# https://hg.python.org/cpython/raw-file/v2.7.9/Misc/NEWS -if os.path.abspath(__file__).split(os.path.sep)[1] == 'vagrant': - del os.link - - def read_file(filename, encoding='utf8'): """Read unicode from given file.""" with codecs.open(filename, encoding=encoding) as fd: