Home | History | Annotate | Download | only in python2.7

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")
643 raise BadZipfile("Bad CRC-32 for file %r" % self.name)
777 except BadZipfile:
805 raise BadZipfile("File is not a zip file")
807 raise BadZipfile, "File is not a zip file"
832 raise BadZipfile("Truncated central directory")
835 raise BadZipfile("Bad magic number for central directory")
897 except BadZipfile:
964 raise BadZipfile("Truncated file header")
967 raise BadZipfile("Bad magic number for file header")
974 raise BadZipfile, \