From c73e461537678af2c29fcc38857e26fa57103710 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Tue, 15 Apr 2014 15:27:43 -0700 Subject: [PATCH] Fix variable name. Change-Id: Ie7439f71cf7fd2eeacd45a5d6625e610dad8bfbe (cherry picked from commit 1a1dfcb5fcb6eda11d8dbf5df02f0083853dd5c1) --- 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 255f0eafe..48631814f 100755 --- a/tools/releasetools/ota_from_target_files +++ b/tools/releasetools/ota_from_target_files @@ -553,7 +553,7 @@ def GetBuildProp(prop, info_dict): try: return info_dict.get("build.prop", {})[prop] except KeyError: - raise common.ExternalError("couldn't find %s in build.prop" % (property,)) + raise common.ExternalError("couldn't find %s in build.prop" % (prop,)) def AddToKnownPaths(filename, known_paths): if filename[-1] == "/": -- 2.11.0