Fix requirements-check error message

If local exclusions are not a subset of global exclusions, we probably
want to identify any item in local exclusions that are not in global
exclusions, instead of the opposite.

Change-Id: Id8e5a423288ac6db3b836ae553d766e5f04b4dec
This commit is contained in:
Pierre Riteau 2021-05-31 16:31:41 +02:00
parent d3eb093041
commit 6ecdc97211
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ def _is_requirement_in_global_reqs(local_req, global_reqs, allow_3_only=False):
if req_exclusions.issubset(global_exclusions):
return True
else:
difference = global_exclusions - req_exclusions
difference = req_exclusions - global_exclusions
print(
"ERROR: Requirement for package {} "
"excludes a version not excluded in the "