From bcfc01eeb38f1bb72c160341a619fae67d225b7d Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 20 Jan 2011 18:24:59 +0100 Subject: [PATCH] docmatcher: Handle deprecated genkernel parameters --- maintenance/docmatcher.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/maintenance/docmatcher.py b/maintenance/docmatcher.py index c40a242..6835100 100644 --- a/maintenance/docmatcher.py +++ b/maintenance/docmatcher.py @@ -23,6 +23,7 @@ EXTRA_VARIABLES = tuple(EXTRA_VARIABLES) IGNORE_OPTIONS = ('help', 'version') _GPG_PARAMETERS = ('encrypt', 'symmetric') IGNORE_PARAMETERS = _GPG_PARAMETERS +DEPRECATED_PARAMETERS = ('lvm2', 'evms2', 'gensplash', 'gensplash-res') def exract_gen_cmdline_sh(): @@ -57,6 +58,8 @@ def exract_gen_cmdline_sh(): para_name = match.group(1) if para_name in IGNORE_OPTIONS: continue + if para_name in DEPRECATED_PARAMETERS: + continue gen_cmdline_sh_parsing_long_params.add(para_name) gen_cmdline_sh_variables = set() -- 2.26.2