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