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 9CBE81382C5 for ; Wed, 20 May 2020 01:52:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81E55E086C; Wed, 20 May 2020 01:52:31 +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 6958AE086D for ; Wed, 20 May 2020 01:52:31 +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 6968434F16D for ; Wed, 20 May 2020 01:52:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 76BE325E for ; Wed, 20 May 2020 01:52:26 +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: <1589939377.fd731821ae4c7b15c7fedfad794bd3b0d05ebb7a.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: fd731821ae4c7b15c7fedfad794bd3b0d05ebb7a X-VCS-Branch: wip/mattst88 Date: Wed, 20 May 2020 01:52:26 +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: bf3845ca-55d0-4367-bade-bcc993ac4e1d X-Archives-Hash: 64519cfcd7a9e7327fdae62c0ed33af5 Message-ID: <20200520015226.CaY32qx96fVTO9i41HHNbAqIh977nqX4Y_vqxcFRxJQ@z> commit: fd731821ae4c7b15c7fedfad794bd3b0d05ebb7a Author: Matt Turner gentoo org> AuthorDate: Mon May 18 23:34:13 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed May 20 01:49:37 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=fd731821 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]