From 91b4f8a8504711153b5a0126407d3683a9ab75be Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Fri, 23 Sep 2011 12:48:33 -0700 Subject: [PATCH] fix syntax error in OTA script Change-Id: I3a9535acb47fc3960020a390dec8d0294a404c2e --- tools/releasetools/ota_from_target_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/releasetools/ota_from_target_files b/tools/releasetools/ota_from_target_files index 78cd554fa..0a27a1902 100755 --- a/tools/releasetools/ota_from_target_files +++ b/tools/releasetools/ota_from_target_files @@ -815,7 +815,7 @@ def main(argv): OPTIONS.target_info_dict = OPTIONS.info_dict OPTIONS.source_info_dict = common.LoadInfoDict(source_zip) if OPTIONS.package_key is None: - OPTIONS.package_key = OPTIONS.source_dict.get( + OPTIONS.package_key = OPTIONS.source_info_dict.get( "default_system_dev_certificate", "build/target/product/security/testkey") if OPTIONS.verbose: -- 2.11.0