1 |
commit: 6ce2657c1052fa500cc5e84b51ce88b06b96098f |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 26 22:29:42 2015 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 26 22:29:42 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=6ce2657c |
7 |
|
8 |
scripts/gen_archlist: remove dead code |
9 |
|
10 |
scripts/gen_archlist.py | 21 --------------------- |
11 |
1 file changed, 21 deletions(-) |
12 |
|
13 |
diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py |
14 |
index e6dc7bd..7f677b1 100755 |
15 |
--- a/scripts/gen_archlist.py |
16 |
+++ b/scripts/gen_archlist.py |
17 |
@@ -48,10 +48,7 @@ SYSTEM_PACKAGES = [] |
18 |
############ |
19 |
# Settings # |
20 |
############ |
21 |
-DEBUG = False |
22 |
-EXTREME_DEBUG = False |
23 |
CHECK_DEPS = False |
24 |
-APPEND_SLOTS = False |
25 |
# Check for stable keywords |
26 |
# This is intended to switch between keywordreq (for ~arch) |
27 |
# and stablereq (for moving from ~arch to arch) |
28 |
@@ -76,24 +73,6 @@ else: |
29 |
#################### |
30 |
# Define Functions # |
31 |
#################### |
32 |
-def flatten(list, sep=' '): |
33 |
- "Given a list, returns a flat string separated by 'sep'" |
34 |
- return sep.join(list) |
35 |
- |
36 |
- |
37 |
-def n_sep(n, sep=' '): |
38 |
- tmp = '' |
39 |
- for i in range(0, n): |
40 |
- tmp += sep |
41 |
- return tmp |
42 |
- |
43 |
- |
44 |
-def debug(*strings): |
45 |
- from portage.output import EOutput |
46 |
- ewarn = EOutput().ewarn |
47 |
- ewarn(flatten(strings)) |
48 |
- |
49 |
- |
50 |
def make_unstable(kws): |
51 |
"""Transform `kws` into a list of unstable keywords.""" |
52 |
return set([ |