diff options
author | Tom V <tom@viner.tv> | 2016-11-03 10:58:53 +0000 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2016-11-03 06:58:53 -0400 |
commit | 382a7e111be499195c1b3321ff6d649c34605992 (patch) | |
tree | f106a33e4edd7e9dde298ed231db34cd3ecf9a0b | |
parent | c9b257d2d56a491b7f8c95973484bb56fd826a1c (diff) | |
download | pip-382a7e111be499195c1b3321ff6d649c34605992.tar.gz |
incompatible_requirements not used (#4065)
-rw-r--r-- | pip/operations/check.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pip/operations/check.py b/pip/operations/check.py index 38712eb54..b43b753fa 100644 --- a/pip/operations/check.py +++ b/pip/operations/check.py @@ -43,10 +43,8 @@ def get_incompatible_reqs(dist, installed_dists): for installed_dist in installed_dists: installed_dists_by_name[installed_dist.project_name] = installed_dist - incompatible_requirements = set() for requirement in dist.requires(): present_dist = installed_dists_by_name.get(requirement.project_name) if present_dist and present_dist not in requirement: - incompatible_requirements.add((requirement, present_dist)) yield (requirement, present_dist) |