Skip to content

Instantly share code, notes, and snippets.

@nylen
Created December 5, 2010 05:54
Show Gist options
  • Save nylen/728845 to your computer and use it in GitHub Desktop.
Save nylen/728845 to your computer and use it in GitHub Desktop.
ota_from_target_files
if not OPTIONS.no_kernel:
boot_img = File("boot.img", common.BuildBootableImage(
os.path.join(OPTIONS.input_tmp, "BOOT")))
if not OPTIONS.no_recovery:
recovery_img = File("recovery.img", common.BuildBootableImage(
os.path.join(OPTIONS.input_tmp, "RECOVERY")))
if not OPTIONS.no_kernel:
MakeRecoveryPatch(output_zip, recovery_img, boot_img)
@nylen
Copy link
Author

nylen commented Dec 5, 2010

Line 7 says:
File "./build/tools/releasetools/ota_from_target_files"
if not OPTIONS.no_kernel:
^
IndentationError: unindent does not match any outer indentation level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment