1 |
commit: fd731821ae4c7b15c7fedfad794bd3b0d05ebb7a |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 18 23:34:13 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 20 01:49:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=fd731821 |
7 |
|
8 |
catalyst: Disallow config file options in spec files |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
catalyst/support.py | 3 +-- |
13 |
1 file changed, 1 insertion(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/catalyst/support.py b/catalyst/support.py |
16 |
index 0925af47..c4a5c797 100644 |
17 |
--- a/catalyst/support.py |
18 |
+++ b/catalyst/support.py |
19 |
@@ -8,7 +8,6 @@ import time |
20 |
from subprocess import Popen |
21 |
|
22 |
from catalyst import log |
23 |
-from catalyst.defaults import valid_config_file_values |
24 |
|
25 |
BASH_BINARY = "/bin/bash" |
26 |
|
27 |
@@ -211,7 +210,7 @@ def addl_arg_parse(myspec, addlargs, requiredspec, validspec): |
28 |
"helper function to help targets parse additional arguments" |
29 |
messages = [] |
30 |
for x in addlargs.keys(): |
31 |
- if x not in validspec and x not in valid_config_file_values and x not in requiredspec: |
32 |
+ if x not in validspec and x not in requiredspec: |
33 |
messages.append("Argument \""+x+"\" not recognized.") |
34 |
else: |
35 |
myspec[x] = addlargs[x] |