diff options
author | Meador Inge <meadori@gmail.com> | 2013-09-04 00:43:49 (GMT) |
---|---|---|
committer | Meador Inge <meadori@gmail.com> | 2013-09-04 00:43:49 (GMT) |
commit | c9e1dcdd5323b11d1d4e901dbc74287a2672bc04 (patch) | |
tree | 8785f563e36d4e232ba14171578604c81995caaa /Lib/importlib | |
parent | d151da9ef7de3ce93f0e29a62ae2a470495db1d0 (diff) | |
download | cpython-c9e1dcdd5323b11d1d4e901dbc74287a2672bc04.zip cpython-c9e1dcdd5323b11d1d4e901dbc74287a2672bc04.tar.gz cpython-c9e1dcdd5323b11d1d4e901dbc74287a2672bc04.tar.bz2 |
Issue #16826: Revert fix while Windows issues are being worked out.
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/_bootstrap.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index f4fdc82..ff10308 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -33,10 +33,7 @@ def _make_relax_case(): if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS): def _relax_case(): """True if filenames must be checked case-insensitively.""" - if sys.flags.ignore_environment: - return False - else: - return b'PYTHONCASEOK' in _os.environ + return b'PYTHONCASEOK' in _os.environ else: def _relax_case(): """True if filenames must be checked case-insensitively.""" |