1 |
commit: 00e918798ece8a6fdf38ba2e5edad1c5b328c183 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 27 23:32:27 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 27 23:32:27 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=00e91879 |
7 |
|
8 |
ekeyword: allow passing arch_status={} to disable profile logic |
9 |
|
10 |
src/ekeyword/ekeyword.py | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/src/ekeyword/ekeyword.py b/src/ekeyword/ekeyword.py |
14 |
index 7a0cc7d..64f4eb0 100755 |
15 |
--- a/src/ekeyword/ekeyword.py |
16 |
+++ b/src/ekeyword/ekeyword.py |
17 |
@@ -168,7 +168,7 @@ def process_keywords(keywords, ops, arch_status=None): |
18 |
for op, oarch, refarch in ops: |
19 |
# Figure out which keywords we need to modify. |
20 |
if oarch == 'all': |
21 |
- if not arch_status: |
22 |
+ if arch_status is None: |
23 |
raise ValueError('unable to process "all" w/out profiles.desc') |
24 |
old_arches = set([keyword_to_arch(a) for a in new_keywords]) |
25 |
if op is None: |