Skip to content

Commit

Permalink
Remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Livingston committed Jan 30, 2018
1 parent 6881a72 commit a859f46
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/python/pants/backend/python/tasks/python_binary_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def _create_binary(self, binary_tgt, results_dir):
# Find which targets provide sources and which specify requirements.
source_tgts = []
req_tgts = []
python_dist_targets = []
for tgt in binary_tgt.closure(exclude_scopes=Scopes.COMPILE):
if has_python_sources(tgt) or has_resources(tgt):
source_tgts.append(tgt)
Expand All @@ -124,8 +123,6 @@ def _create_binary(self, binary_tgt, results_dir):
builder.add_interpreter_constraint(constraint)
elif has_python_requirements(tgt):
req_tgts.append(tgt)
elif is_local_python_dist(tgt):
python_dist_targets.append(tgt)

# Dump everything into the builder's chroot.
for tgt in source_tgts:
Expand Down

0 comments on commit a859f46

Please sign in to comment.