summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2015-06-27 00:29:42 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2015-06-27 00:29:42 +0200
commit6ce2657c1052fa500cc5e84b51ce88b06b96098f (patch)
treefbce759cbc65f9e76e690ae0dedfca4e720128ce /scripts
parentscripts/gen_archlist: fix case of local variable (diff)
downloadgnome-6ce2657c1052fa500cc5e84b51ce88b06b96098f.tar.gz
gnome-6ce2657c1052fa500cc5e84b51ce88b06b96098f.tar.bz2
gnome-6ce2657c1052fa500cc5e84b51ce88b06b96098f.zip
scripts/gen_archlist: remove dead code
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_archlist.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index e6dc7bd6..7f677b1a 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([