Bug 1338232 - Fix typo r=nthomas a=release DONTBUILD
authorRail Aliiev <rail@mozilla.com>
Thu, 23 Feb 2017 21:50:10 -0500
changeset 373581 97c3c38805707db9b37cf3e8b4b916aa54f59c72
parent 373580 f901f32da9e68a38cf804b25fc30aba605fcd541
child 373582 1b319a801847f9b098b07449116cd106db90fb33
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnthomas, release
bugs1338232
milestone54.0a1
Bug 1338232 - Fix typo r=nthomas a=release DONTBUILD MozReview-Commit-ID: CxaqBwG4zEw
testing/mozharness/scripts/release/beet_mover.py
--- a/testing/mozharness/scripts/release/beet_mover.py
+++ b/testing/mozharness/scripts/release/beet_mover.py
@@ -290,17 +290,17 @@ class BeetMover(BaseScript, VirtualenvMi
                 beet_file_name = '{}.beet'.format(downloaded_file)
                 # upload checksums to a separate subdirectory
                 beet_dest = '{prefix}beetmover-checksums/{f}.beet'.format(
                     prefix=self._get_template_vars()["s3_prefix"],
                     f=self._strip_prefix(s3_key)
                 )
                 beet_contents = '\n'.join([
                     '{hash} {fmt} {size} {name}'.format(
-                        hash=self.get_hash_for_file(downloaded_file, hash_type=algo),
+                        hash=self.get_hash_for_file(downloaded_file, hash_type=fmt),
                         fmt=fmt,
                         size=os.path.getsize(downloaded_file),
                         name=self._strip_prefix(s3_key)) for fmt in HASH_FORMATS
                 ])
                 self.write_to_file(beet_file_name, beet_contents)
                 self.upload_bit(source=downloaded_file, s3_key=s3_key,
                                 bucket=bucket)
                 self.upload_bit(source=beet_file_name, s3_key=beet_dest,