Lines Matching refs:BadZipfile
20 class BadZipfile(Exception): class
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)
781 except BadZipfile:
809 raise BadZipfile("File is not a zip file")
811 raise BadZipfile, "File is not a zip file"
836 raise BadZipfile("Truncated central directory")
839 raise BadZipfile("Bad magic number for central directory")
901 except BadZipfile:
968 raise BadZipfile("Truncated file header")
971 raise BadZipfile("Bad magic number for file header")
978 raise BadZipfile, \