def unpack_archive(filename, extract_dir, progress_filter=default_filter, drivers=None):
 for driver in (drivers or extraction_drivers):
  try:
   driver(filename, extract_dir, progress_filter)
  except UnrecognizedFormat:
   continue
  else:
   return
 else:
  raise UnrecognizedFormat(('Not a recognized archive type: %s' % filename))

def unpack_archive ( filename , extract_dir , progress_filter = default_filter , drivers = None ) : for driver in ( drivers or extraction_drivers ) : try : driver ( filename , extract_dir , progress_filter ) except UnrecognizedFormat : continue else : return else : raise UnrecognizedFormat ( ( 'Not a recognized archive type: %s' % filename ) )
unpack filename to extract_dir .