Add exception for --no-ramdisk-modules: no longer assume existence of --ramdisk-modules
authorSebastian Pipping <sebastian@pipping.org>
Mon, 6 Dec 2010 05:34:41 +0000 (06:34 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Mon, 6 Dec 2010 05:34:41 +0000 (06:34 +0100)
maintenance/docmatcher.py

index 524046d26f90213bc4543ad1a2b0ecbbdbd98bd0..deba9419cbd2de715b671047ab390cba82707a81 100644 (file)
@@ -100,7 +100,7 @@ def extract_genkernel_xml(genkernel_xml_path):
                        para_name = 'no-install'
 
                m = yes_no.match(para_name)
-               if m:
+               if m and para_name != 'no-ramdisk-modules':
                        p_yes = m.group(2)
                        p_no = m.group(1) + m.group(2)
                        genkernel_xml_long_params.add(p_yes)