diff options
author | Meador Inge <meadori@gmail.com> | 2013-09-04 00:54:40 (GMT) |
---|---|---|
committer | Meador Inge <meadori@gmail.com> | 2013-09-04 00:54:40 (GMT) |
commit | 3c561456380ff54efb3784a92ba74ee904470b35 (patch) | |
tree | cebcd54e56cedeba54a399e9abdc48eab401e4d5 /Lib/importlib | |
parent | 2b0a98f5405866076456ed55ed6a382c7a3f4260 (diff) | |
parent | c9e1dcdd5323b11d1d4e901dbc74287a2672bc04 (diff) | |
download | cpython-3c561456380ff54efb3784a92ba74ee904470b35.zip cpython-3c561456380ff54efb3784a92ba74ee904470b35.tar.gz cpython-3c561456380ff54efb3784a92ba74ee904470b35.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 fad91ca..9174057 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -29,10 +29,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.""" |