Home | History | Annotate | Download | only in Lib

Lines Matching refs:BadZipfile

17 __all__ = ["BadZipfile", "error", "ZIP_STORED", "ZIP_DEFLATED", "is_zipfile",
20 class BadZipfile(Exception):
30 error = BadZipfile # The exception raised by this module
177 raise BadZipfile("zipfiles that span multiple disks are not supported")
647 raise BadZipfile("Bad CRC-32 for file %r" % self.name)
782 except BadZipfile:
811 raise BadZipfile("File is not a zip file")
813 raise BadZipfile, "File is not a zip file"
839 raise BadZipfile("Truncated central directory")
842 raise BadZipfile("Bad magic number for central directory")
904 except BadZipfile:
971 raise BadZipfile("Truncated file header")
974 raise BadZipfile("Bad magic number for file header")
981 raise BadZipfile, \