diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2015-06-27 00:29:42 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2015-06-27 00:29:42 +0200 |
commit | 6ce2657c1052fa500cc5e84b51ce88b06b96098f (patch) | |
tree | fbce759cbc65f9e76e690ae0dedfca4e720128ce /scripts | |
parent | scripts/gen_archlist: fix case of local variable (diff) | |
download | gnome-6ce2657c1052fa500cc5e84b51ce88b06b96098f.tar.gz gnome-6ce2657c1052fa500cc5e84b51ce88b06b96098f.tar.bz2 gnome-6ce2657c1052fa500cc5e84b51ce88b06b96098f.zip |
scripts/gen_archlist: remove dead code
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen_archlist.py | 21 |
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([ |