summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiro HronĨok <miro@hroncok.cz>2020-02-24 18:54:54 +0100
committerGitHub <noreply@github.com>2020-02-24 17:54:54 +0000
commit47ff9b6e128131fda5752232d55924eff7338bf6 (patch)
tree402a723bc3d28864dfdffc16a1d669945ed07b3f
parent4955ebd4e8bfb01be582cdd7c0e9eb4155488ea6 (diff)
downloadvirtualenv-47ff9b6e128131fda5752232d55924eff7338bf6.tar.gz
Remove a leftover error line with empty exception info (#1659)
Since a6d6ed791d94c39b7348192503866aff6a0ba458 there is no exception to report about. Related to https://github.com/pypa/virtualenv/pull/1651
-rw-r--r--docs/changelog/1651.bugfix.rst2
-rwxr-xr-xvirtualenv.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/docs/changelog/1651.bugfix.rst b/docs/changelog/1651.bugfix.rst
index 26dd9c6..b3cc556 100644
--- a/docs/changelog/1651.bugfix.rst
+++ b/docs/changelog/1651.bugfix.rst
@@ -1 +1 @@
-fix error printing in bailout for Python < 2.7 - by ``AdamWill`
+fix error printing in bailout for Python < 2.7 - by ``AdamWill` and ``hroncok``
diff --git a/virtualenv.py b/virtualenv.py
index 5968059..ba4bd2c 100755
--- a/virtualenv.py
+++ b/virtualenv.py
@@ -50,7 +50,6 @@ __version__ = "16.7.9"
virtualenv_version = __version__ # legacy
DEBUG = os.environ.get("_VIRTUALENV_DEBUG", None) == "1"
if sys.version_info < (2, 7):
- print("ERROR: {0}".format(sys.exc_info()[1]))
print("ERROR: this script requires Python 2.7 or greater.")
sys.exit(101)