Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f640f246 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix signing failures on targets with >4GB target_files" into main am:...

Merge "Fix signing failures on targets with >4GB target_files" into main am: 3b7d46f4 am: 892a1610

Original change: https://android-review.googlesource.com/c/platform/build/+/2920107



Change-Id: Id0c82921c7cc04da118e16cf4b2b6f6fc40968b1
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents fb6782d8 892a1610
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -58,22 +58,6 @@ if sys.hexversion < 0x02070000:

logger = logging.getLogger(__name__)

# Work around a bug in Python's zipfile module that prevents opening of zipfiles
# if any entry has an extra field of between 1 and 3 bytes (which is common with
# zipaligned APKs). This overrides the ZipInfo._decodeExtra() method (which
# contains the bug) with an empty version (since we don't need to decode the
# extra field anyway).
# Issue #14315: https://bugs.python.org/issue14315, fixed in Python 2.7.8 and
# Python 3.5.0 alpha 1.


class MyZipInfo(zipfile.ZipInfo):
  def _decodeExtra(self):
    pass


zipfile.ZipInfo = MyZipInfo


OPTIONS = common.OPTIONS