1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
This commit is contained in:
Pradyun S. Gedam 2017-05-15 15:09:14 +05:30
parent 07439a9aaa
commit 951d374045

View file

@ -204,7 +204,7 @@ class Configuration(object):
if config_files[kinds.ENV][0:1] == [os.devnull]:
logger.debug(
"Skipping loading configuration files due to "
"environment's PIP_CONFIG being os.devnull"
"environment's PIP_CONFIG_FILE being os.devnull"
)
return
@ -275,7 +275,7 @@ class Configuration(object):
# SMELL: Move the conditions out of this function
# environment variables have the lowest priority
config_file = os.environ.get('PIP_CONFIG', None)
config_file = os.environ.get('PIP_CONFIG_FILE', None)
if config_file is not None:
yield kinds.ENV, [config_file]
else: