Bug 1338232 - Fix typo r=nthomas a=release DONTBUILD
authorRail Aliiev <rail@mozilla.com>
Thu, 23 Feb 2017 21:50:10 -0500
changeset 376411 c9aca0047c81f083345892769caa85be5fec465c
parent 376410 883dd404cfa2bab84de402e87484e1b2b268f466
child 376412 2d1a7803246bcd64518df53db07108b9da97d848
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnthomas, release
bugs1338232
milestone53.0a2
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,