summaryrefslogtreecommitdiff
path: root/python/transform.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/transform.py')
-rw-r--r--python/transform.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/python/transform.py b/python/transform.py
index 54827efc..35fa8f68 100644
--- a/python/transform.py
+++ b/python/transform.py
@@ -867,13 +867,6 @@ class ZipPython(Transform):
return None
def perform_decode_with_context(self, context, params) -> bool:
- """
- ``perform_decode_with_context`` implements context-aware ZIP extraction.
- Two-phase flow:
- - Phase 1 (discovery): populate available_files, return False.
- - Phase 2 (extraction): for each requested file, create a child context and return
- True if all succeeded, False otherwise.
- """
try:
zf = zipfile.ZipFile(io.BytesIO(context.input.read(0, context.input.length)), "r")
except Exception: