Extracted the "what-do-I-do-for-this-format" logic from code in
  'make_archive()' to a global static dictionary, ARCHIVE_FORMATS.
Added 'check_archive_formats()', which obviously makes good use of
  this dictionary.
1 file changed