Lines Matching refs:format
197 """Returns the first format from the 'format' list that is unknown.
201 for format in formats:
202 if format not in ARCHIVE_FORMATS:
203 return format
206 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
210 'base_name' is the name of the file to create, minus any format-specific
211 extension; 'format' is the archive format: one of "zip", "tar", "gztar",
237 format_info = ARCHIVE_FORMATS[format]
239 raise ValueError("unknown archive format '%s'" % format)
245 if format != 'zip':