From 5f8ff9319b086c2f2b95bded2d40700037b5003f Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Tue, 21 Mar 2017 22:35:00 -0700 Subject: [PATCH] Add a missing default value for OPTIONS.extracted_input. Test: ota_from_target_files.py without --extracted_input_target_files. Change-Id: Ieaba43fa557b544b24f3eeccd68ac289d1fe3d31 --- tools/releasetools/ota_from_target_files.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py index c3f063fcc8..f75bb969c0 100755 --- a/tools/releasetools/ota_from_target_files.py +++ b/tools/releasetools/ota_from_target_files.py @@ -180,6 +180,7 @@ OPTIONS.gen_verify = False OPTIONS.log_diff = None OPTIONS.payload_signer = None OPTIONS.payload_signer_args = [] +OPTIONS.extracted_input = None METADATA_NAME = 'META-INF/com/android/metadata' UNZIP_PATTERN = ['IMAGES/*', 'META/*']