From 170fb7441469b2d2f1aef051a6feeccc07960487 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 17 Jan 2011 15:13:16 +0100 Subject: [PATCH] docmatcher: Get GnuPG parameters out of the way --- maintenance/docmatcher.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintenance/docmatcher.py b/maintenance/docmatcher.py index 4b6b94e..c40a242 100644 --- a/maintenance/docmatcher.py +++ b/maintenance/docmatcher.py @@ -21,6 +21,8 @@ for app in ('DEVICE_MAPPER', 'UNIONFS_FUSE', 'BUSYBOX', 'DMRAID', 'LVM', 'ISCSI' EXTRA_VARIABLES = tuple(EXTRA_VARIABLES) IGNORE_OPTIONS = ('help', 'version') +_GPG_PARAMETERS = ('encrypt', 'symmetric') +IGNORE_PARAMETERS = _GPG_PARAMETERS def exract_gen_cmdline_sh(): @@ -96,6 +98,9 @@ def extract_genkernel_8_txt(): if para_name == 'no-': continue + if para_name in IGNORE_PARAMETERS: + continue + m = yes_no.match(para_name) if m: p_yes = m.group(2)