Commit afca0488 authored by Vibhu Agrawal's avatar Vibhu Agrawal

Handling ENOSPC for .zip/.aia or similar files

diffoscope/comparators/ added another except block to handle
parent b2b61327
Pipeline #41593 failed with stage
in 15 minutes and 18 seconds
......@@ -152,6 +152,14 @@ class ZipContainer(Archive):
raise ContainerExtractionError(member_name, exc)
except OSError as ose:
if (ose.errno == 28):
sys.tracebacklimit = 0
raise ose
def get_member(self, member_name):
zipinfo = self.archive.getinfo(member_name)
if zipinfo.filename[-1] == '/':
  • I reverted this on master as I don't think it is ready to merge. Please use a merge request instead of committing directy to this branch - we can comment/review on the MR.

  • mentioned in commit c1f202c4

    Toggle commit list
  • Created an MR. Thanks for helping out.

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment