OSDN Git Service

add missing comma
authorDoug Zongker <dougz@android.com>
Fri, 4 Dec 2009 00:36:20 +0000 (16:36 -0800)
committerDoug Zongker <dougz@android.com>
Fri, 4 Dec 2009 00:36:20 +0000 (16:36 -0800)
A missing comma is breaking the option parsing for the signing tools
(this doesn't affect any device code, only the signing tools).

tools/releasetools/common.py

index 041daf4..26f216d 100644 (file)
@@ -308,7 +308,7 @@ def ParseOptions(argv,
       OPTIONS.search_path = a
     elif o in ("-s", "--device_specific"):
       OPTIONS.device_specific = a
-    elif o in ("-x" "--extra"):
+    elif o in ("-x", "--extra"):
       key, value = a.split("=", 1)
       OPTIONS.extras[key] = value
     else: