OSDN Git Service

Fix variable name.
authorYing Wang <wangying@google.com>
Tue, 15 Apr 2014 22:27:43 +0000 (15:27 -0700)
committerYing Wang <wangying@google.com>
Tue, 15 Apr 2014 22:31:54 +0000 (22:31 +0000)
Change-Id: Ie7439f71cf7fd2eeacd45a5d6625e610dad8bfbe
(cherry picked from commit 1a1dfcb5fcb6eda11d8dbf5df02f0083853dd5c1)

tools/releasetools/ota_from_target_files

index 255f0ea..4863181 100755 (executable)
@@ -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] == "/":