commit: 6ce2657c1052fa500cc5e84b51ce88b06b96098f
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 26 22:29:42 2015 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Fri Jun 26 22:29:42 2015 +0000
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=6ce2657c
scripts/gen_archlist: remove dead code
scripts/gen_archlist.py | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index e6dc7bd..7f677b1 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -48,10 +48,7 @@ SYSTEM_PACKAGES = []
############
# Settings #
############
-DEBUG = False
-EXTREME_DEBUG = False
CHECK_DEPS = False
-APPEND_SLOTS = False
# Check for stable keywords
# This is intended to switch between keywordreq (for ~arch)
# and stablereq (for moving from ~arch to arch)
@@ -76,24 +73,6 @@ else:
####################
# Define Functions #
####################
-def flatten(list, sep=' '):
- "Given a list, returns a flat string separated by 'sep'"
- return sep.join(list)
-
-
-def n_sep(n, sep=' '):
- tmp = ''
- for i in range(0, n):
- tmp += sep
- return tmp
-
-
-def debug(*strings):
- from portage.output import EOutput
- ewarn = EOutput().ewarn
- ewarn(flatten(strings))
-
-
def make_unstable(kws):
"""Transform `kws` into a list of unstable keywords."""
return set([