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 8D1BE1382C5 for ; Tue, 19 May 2020 22:55:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33397E0871; Tue, 19 May 2020 22:55:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 1F70FE0871 for ; Tue, 19 May 2020 22:55:38 +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 3EF5B34F1E0 for ; Tue, 19 May 2020 22:55:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BEFA25B for ; Tue, 19 May 2020 22:55:34 +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: <1589928861.3db73f91f7b1d654bbed0463ec8f0a1703b7e2aa.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: 3db73f91f7b1d654bbed0463ec8f0a1703b7e2aa X-VCS-Branch: wip/mattst88 Date: Tue, 19 May 2020 22:55:34 +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: 98f64388-fec7-4061-bcbd-11af3ed989c3 X-Archives-Hash: 49b94bec3e0ee5fc1675a4d7591e69f7 commit: 3db73f91f7b1d654bbed0463ec8f0a1703b7e2aa Author: Matt Turner gentoo org> AuthorDate: Mon May 18 23:34:13 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue May 19 22:54:21 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=3db73f91 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]