Skip to content

Commit

Permalink
Fix #10354.
Browse files Browse the repository at this point in the history
[ci skip-rust]

[ci skip-build-wheels]
  • Loading branch information
stuhood committed Aug 5, 2020
1 parent fcbb918 commit 931bee5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/python/pants/backend/project_info/dependees.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ async def map_addresses_to_dependees() -> AddressToDependees:
address_to_dependees = defaultdict(set)
for tgt, dependencies in zip(all_explicit_targets, dependencies_per_target):
for dependency in dependencies:
# TODO(#10354): teach dependees how to work with generated subtargets.
dependency = dependency.maybe_convert_to_base_target()
address_to_dependees[dependency].add(tgt.address)
return AddressToDependees(
FrozenDict(
Expand All @@ -55,7 +53,7 @@ class DependeesRequest:
def __init__(
self, addresses: Iterable[Address], *, transitive: bool, include_roots: bool
) -> None:
self.addresses = FrozenOrderedSet(addr.maybe_convert_to_base_target() for addr in addresses)
self.addresses = FrozenOrderedSet(addresses)
self.transitive = transitive
self.include_roots = include_roots

Expand Down

0 comments on commit 931bee5

Please sign in to comment.