mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
🔧
This commit is contained in:
parent
07439a9aaa
commit
951d374045
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue