Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Commit

Permalink
shipit_code_coverage: Set self.revision also when the revision is pas…
Browse files Browse the repository at this point in the history
…sed as a parameter (#484)
  • Loading branch information
marco-c authored and garbas committed Jul 6, 2017
1 parent 60a114a commit 3d13194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shipit_code_coverage/shipit_code_coverage/codecov.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def __init__(self, revision, cache_root, coveralls_token, codecov_token, deploy_
task_data = taskcluster.get_task_details(self.task_id)
self.revision = task_data['payload']['env']['GECKO_HEAD_REV']
else:
self.task_id = taskcluster.get_task('mozilla-central', self.revision)
self.task_id = taskcluster.get_task('mozilla-central', revision)
self.revision = revision

logger.info('Mercurial revision', revision=self.revision)

Expand Down

0 comments on commit 3d13194

Please sign in to comment.