[Kimchi-devel] [PATCH] [Kimchi] Recognize openSUSE 42.2 ISO

Aline Manera alinefm at linux.vnet.ibm.com
Thu Dec 1 15:41:42 UTC 2016


Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 isoinfo.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/isoinfo.py b/isoinfo.py
index e5725e2..6876672 100644
--- a/isoinfo.py
+++ b/isoinfo.py
@@ -111,8 +111,7 @@ iso_dir = [
         'openSUSE-DVD-i586-Build0039|openSUSE-DVD-x86_640039'),
     ('opensuse', '12.2',
         'openSUSE-DVD-i586-Build0167|openSUSE-DVD-x86_640167'),
-    ('opensuse', '42.1',
-        'openSUSE-Leap-42.1-DVD-x86_64026|openSUSE-Leap-42.1-NET-x86_64026'),
+    ('opensuse', lambda m: m.group(1), 'openSUSE-Leap-(\d+\.\d+)'),
     ('rhel', '4.8', 'RHEL/4-U8'),
     ('rhel', lambda m: m.group(2), 'RHEL(-LE)?[_/-](\d+\.\d+)'),
     ('debian', lambda m: m.group(1), 'Debian (\d+\.\d+)'),
-- 
2.7.4




More information about the Kimchi-devel mailing list