Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gen_archlist_cleanup commit in: scripts/
Date: Fri, 26 Jun 2015 22:32:28
Message-Id: 1435356883.bb81b5c9415b3d70f508a77ba1f79f86c5b4a79c.eva@gentoo
1 commit: bb81b5c9415b3d70f508a77ba1f79f86c5b4a79c
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 26 22:09:54 2015 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 26 22:14:43 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=bb81b5c9
7
8 scripts/gen_archlist: do not add skipped lines to ALL_CPV_KWS
9
10 Why in the world would we want to do that.
11
12 scripts/gen_archlist.py | 1 -
13 1 file changed, 1 deletion(-)
14
15 diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
16 index 7c41a9c..1633dfa 100755
17 --- a/scripts/gen_archlist.py
18 +++ b/scripts/gen_archlist.py
19 @@ -489,7 +489,6 @@ def main():
20 for i in open(args.file).readlines():
21 cp = i[:-1]
22 if cp.startswith('#') or cp.isspace() or not cp:
23 - ALL_CPV_KWS.append(cp)
24 continue
25 if cp.find('#') is not -1:
26 raise Exception('Inline comments are not supported')