Bug 1343990 - fix potential KeyError case for Fennec. r=rail
authorMihai Tabara <mtabara@mozilla.com>
Fri, 03 Mar 2017 22:17:55 +0000
changeset 7359 55aeed6f95ac
parent 7358 f8b442f597dd
child 7361 e408c6a4ab37
push id5479
push usermtabara@mozilla.com
push dateMon, 06 Mar 2017 09:52:26 +0000
reviewersrail
bugs1343990
Bug 1343990 - fix potential KeyError case for Fennec. r=rail MozReview-Commit-ID: CA1lGn5zyxH
buildfarm/release/releasetasks_graph_gen.py
--- a/buildfarm/release/releasetasks_graph_gen.py
+++ b/buildfarm/release/releasetasks_graph_gen.py
@@ -41,17 +41,17 @@ def main(release_runner_config, release_
         "balrog_password": release_config['balrog_password'],
         "beetmover_aws_access_key_id": release_config['beetmover_aws_access_key_id'],
         "beetmover_aws_secret_access_key": release_config['beetmover_aws_secret_access_key'],
         "signing_class": "release-signing",  # TODO: stagin specific, make them configurable
 
         # ship-it items
         "version": release_config["version"],
         "revision": release_config["mozilla_revision"],
-        "mozharness_changeset": release_config["mozharness_changeset"] or release_config["mozilla_revision"],
+        "mozharness_changeset": release_config.get("mozharness_changeset") or release_config["mozilla_revision"],
         "buildNumber": release_config["build_number"],
         "l10n_changesets": release_config["l10n_changesets"],
 
         # was branchConfig items
         "funsize_balrog_api_root": release_config["funsize_balrog_api_root"],
         "balrog_api_root": release_config["balrog_api_root"],
         "build_tools_repo_path": release_config['build_tools_repo_path'],
         "tuxedo_server_url": release_config['tuxedo_server_url'],