diff options
| author | David Lord <davidism@gmail.com> | 2020-04-20 00:31:06 -0700 |
|---|---|---|
| committer | David Lord <davidism@gmail.com> | 2020-04-20 00:31:06 -0700 |
| commit | 9f34897f4a77f6c5c369962974290c6eea211c76 (patch) | |
| tree | 680ea144c51a0ce524b151972e390a9b1b27b6db /src/click/core.py | |
| parent | 03dabdda8e48f0f87f13d24b9a2e65c1b0807635 (diff) | |
| download | click-drop-python2.tar.gz | |
remove Python 2/3 from docsdrop-python2
Diffstat (limited to 'src/click/core.py')
| -rw-r--r-- | src/click/core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/click/core.py b/src/click/core.py index e4061aa..b7124df 100644 --- a/src/click/core.py +++ b/src/click/core.py @@ -6,7 +6,7 @@ from contextlib import contextmanager from functools import update_wrapper from itertools import repeat -from ._unicodefun import _verify_python3_env +from ._unicodefun import _verify_python_env from .exceptions import Abort from .exceptions import BadParameter from .exceptions import ClickException @@ -787,7 +787,7 @@ class BaseCommand: """ # Verify that the environment is configured correctly, or reject # further execution to avoid a broken script. - _verify_python3_env() + _verify_python_env() if args is None: args = sys.argv[1:] |
