[Kimchi-devel] [PATCH] [Kimchi 1/2] Issue #965: Recognize Fedora 24 ISO image.

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Wed Jun 22 15:02:24 UTC 2016


From: Paulo Vital <pvital at linux.vnet.ibm.com>

Add new regex to also recognize Fedora 24 ISO images.

Signed-off-by: Paulo Vital <pvital at 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




More information about the Kimchi-devel mailing list