mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
make conditional right
This commit is contained in:
parent
dfaf0d64e6
commit
3d89671dd4
1 changed files with 2 additions and 2 deletions
|
|
@ -59,10 +59,10 @@ def main(args):
|
|||
repo_path = os.path.dirname(tools_path)
|
||||
if os.environ.get('CERTBOT_OLDEST') == '1':
|
||||
constraints_path = os.path.normpath(os.path.join(
|
||||
repo_path, 'tools', 'requirements.txt'))
|
||||
repo_path, 'tools', 'oldest_constraints.txt'))
|
||||
else:
|
||||
constraints_path = os.path.normpath(os.path.join(
|
||||
repo_path, 'tools', 'oldest_constraints.txt'))
|
||||
repo_path, 'tools', 'requirements.txt'))
|
||||
|
||||
env = os.environ.copy()
|
||||
env["PIP_CONSTRAINT"] = constraints_path
|
||||
|
|
|
|||
Loading…
Reference in a new issue