Created
June 29, 2020 21:39
-
-
Save rail/be91c15728eef26e64c93c5681c34b8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/testing/mozharness/scripts/release/generate-checksums.py b/testing/mozharness/scripts/release/generate-checksums.py | |
--- a/testing/mozharness/scripts/release/generate-checksums.py | |
+++ b/testing/mozharness/scripts/release/generate-checksums.py | |
@@ -158,17 +158,17 @@ class ChecksumsGenerator(BaseScript, Vir | |
else: | |
self.log("Using checksums format") | |
return checksum_files["checksums"] | |
pool = ThreadPool(self.config["parallelization"]) | |
pool.map(worker, find_checksums_files()) | |
for c in raw_checksums: | |
- for f, info in parse_checksums_file(c).iteritems(): | |
+ for f, info in parse_checksums_file(c).items(): | |
for pattern in self.config["includes"]: | |
if re.search(pattern, f): | |
if f in self.checksums: | |
if info == self.checksums[f]: | |
self.debug("Duplicate checksum for file {}" | |
" but the data matches;" | |
" continuing...".format(f)) | |
continue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment