From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B76A81382C5 for ; Wed, 20 May 2020 00:26:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5B3DE085D; Wed, 20 May 2020 00:26:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD61DE085D for ; Wed, 20 May 2020 00:26:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D41CF34F1C2 for ; Wed, 20 May 2020 00:26:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02F3F259 for ; Wed, 20 May 2020 00:26:04 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1589934294.49055f32f5ad518501990ab320ae8be39f8d9f3b.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:wip/mattst88 commit in: catalyst/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/support.py X-VCS-Directories: catalyst/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 49055f32f5ad518501990ab320ae8be39f8d9f3b X-VCS-Branch: wip/mattst88 Date: Wed, 20 May 2020 00:26:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8489c04f-3fb1-4d2e-ab3c-cd852e3b3a35 X-Archives-Hash: 69ce15f6fee5adcbdbc96a175040377f commit: 49055f32f5ad518501990ab320ae8be39f8d9f3b Author: Matt Turner gentoo org> AuthorDate: Mon May 18 23:34:13 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed May 20 00:24:54 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=49055f32 catalyst: Disallow config file options in spec files Signed-off-by: Matt Turner gentoo.org> catalyst/support.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/catalyst/support.py b/catalyst/support.py index 0925af47..c4a5c797 100644 --- a/catalyst/support.py +++ b/catalyst/support.py @@ -8,7 +8,6 @@ import time from subprocess import Popen from catalyst import log -from catalyst.defaults import valid_config_file_values BASH_BINARY = "/bin/bash" @@ -211,7 +210,7 @@ def addl_arg_parse(myspec, addlargs, requiredspec, validspec): "helper function to help targets parse additional arguments" messages = [] for x in addlargs.keys(): - if x not in validspec and x not in valid_config_file_values and x not in requiredspec: + if x not in validspec and x not in requiredspec: messages.append("Argument \""+x+"\" not recognized.") else: myspec[x] = addlargs[x]