diff options
author | Brett Cannon <brett@python.org> | 2016-07-15 18:55:21 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2016-07-15 18:55:21 (GMT) |
commit | b3e73b30ff5a87c81ef69f3b19a486877ed7f0c2 (patch) | |
tree | 94dddbdb417f50a75af2eb858361c9712ddef0da /Lib/importlib/_bootstrap_external.py | |
parent | 33ed881f791c4ee9888eb1df6871129a94f9e6ee (diff) | |
parent | a47a7a5bf88c72d85f322f528381ebfa924072e9 (diff) | |
download | cpython-b3e73b30ff5a87c81ef69f3b19a486877ed7f0c2.zip cpython-b3e73b30ff5a87c81ef69f3b19a486877ed7f0c2.tar.gz cpython-b3e73b30ff5a87c81ef69f3b19a486877ed7f0c2.tar.bz2 |
Merge for #27083
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
-rw-r--r-- | Lib/importlib/_bootstrap_external.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index a4805f3..d332237 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -29,7 +29,8 @@ def _make_relax_case(): if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS): def _relax_case(): """True if filenames must be checked case-insensitively.""" - return b'PYTHONCASEOK' in _os.environ + return (b'PYTHONCASEOK' in _os.environ + or 'PYTHONCASEOK' in _os.environ) else: def _relax_case(): """True if filenames must be checked case-insensitively.""" |