Returns a list of supported formats for unpacking. Each element of the returned sequence is a tuple (name, extensions, description)
()
| 1246 | |
| 1247 | |
| 1248 | def get_unpack_formats(): |
| 1249 | """Returns a list of supported formats for unpacking. |
| 1250 | |
| 1251 | Each element of the returned sequence is a tuple |
| 1252 | (name, extensions, description) |
| 1253 | """ |
| 1254 | formats = [(name, info[0], info[3]) for name, info in |
| 1255 | _UNPACK_FORMATS.items()] |
| 1256 | formats.sort() |
| 1257 | return formats |
| 1258 | |
| 1259 | def _check_unpack_options(extensions, function, extra_args): |
| 1260 | """Checks what gets registered as an unpacker.""" |