Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
fixed type error in bazel targets expander
Browse files Browse the repository at this point in the history
Test Plan: N/A

Reviewers: anupc

Reviewed By: anupc

Subscribers: changesbot, kylec

Differential Revision: https://tails.corp.dropbox.com/D227813
  • Loading branch information
Naphat Sanguansin committed Sep 12, 2016
1 parent 9189a11 commit fb8d926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions changes/expanders/bazel_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def validate(self):
'cmd'], 'Missing ``{target_names}`` in command'
assert 'artifact_search_path' in self.data, 'Missing ``artifact_search_path`` attribute'

def expand(self, max_executors, target_stats_from=None):
def expand(self, max_executors, test_stats_from=None):
target_stats, avg_time = self.get_target_stats(
target_stats_from or self.project.slug)
test_stats_from or self.project.slug)

groups = shard(self.data['targets'], max_executors,
target_stats, avg_time)
Expand Down

0 comments on commit fb8d926

Please sign in to comment.