This commit is contained in:
Stéphane Bidoul 2023-11-20 18:41:05 -05:00 committed by GitHub
commit 7125991512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -344,7 +344,8 @@ class RequirementsFileParser:
# parse a nested requirements file
if line.opts.requirements:
req_path = line.opts.requirements[0]
nested_constraint = False
# -r in constraint files yields constraints
nested_constraint = constraint
else:
req_path = line.opts.constraints[0]
nested_constraint = True