From: Paulo Vital <pvital(a)linux.vnet.ibm.com>
Add new regex to also recognize Fedora 24 ISO images.
Signed-off-by: Paulo Vital <pvital(a)linux.vnet.ibm.com>
---
isoinfo.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/isoinfo.py b/isoinfo.py
index 7c000b7..d7ca044 100644
--- a/isoinfo.py
+++ b/isoinfo.py
@@ -119,6 +119,7 @@ iso_dir = [
('ubuntu', lambda m: m.group(2), '[Uu]buntu(-Server)? (\d+\.\d+)'),
('fedora', lambda m: m.group(1), 'Fedora[ -](\d+)'),
('fedora', lambda m: m.group(1), 'Fedora.*-(\d+)-'),
+ ('fedora', lambda m: m.group(1), 'Fedora-[\w-]+-(\d+)'),
('gentoo', lambda m: m.group(1), 'Gentoo Linux \w+ (\d+)'),
('powerkvm', 'live_cd', 'POWERKVM_LIVECD'),
('arch', lambda m: m.group(1), 'ARCH_(\d+)'),
--
2.5.5