summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2015-06-27 00:27:47 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2015-06-27 00:27:47 +0200
commita01ce56fddcd6b1f21233636b8661b4e4abdcd71 (patch)
tree4f0699ccde7d8fb91bcd0d89a32497d5f14f9333 /scripts
parentscripts/gen_archlist: simplify logic of file parsing (diff)
downloadgnome-a01ce56fddcd6b1f21233636b8661b4e4abdcd71.tar.gz
gnome-a01ce56fddcd6b1f21233636b8661b4e4abdcd71.tar.bz2
gnome-a01ce56fddcd6b1f21233636b8661b4e4abdcd71.zip
scripts/gen_archlist: fix case of local variable
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_archlist.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index 21a196fc..e6dc7bd6 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -485,7 +485,7 @@ def main():
},
})
- ALL_CPV_KWS = []
+ all_cpv_kws = []
for line in open(args.file).readlines():
cp = line.strip()
@@ -522,16 +522,16 @@ def main():
'stable' if STABLE else 'keyworded')
continue
- ALL_CPV_KWS.append(
+ all_cpv_kws.append(
gen_cpv_kws(cpv, kws_missing, set([cpv]),
args.check_dependencies, args.new_version)
)
- ALL_CPV_KWS = consolidate_dupes(ALL_CPV_KWS)
+ all_cpv_kws = consolidate_dupes(all_cpv_kws)
if args.append_slots:
- ALL_CPV_KWS = append_slots(ALL_CPV_KWS)
+ all_cpv_kws = append_slots(all_cpv_kws)
- print_cpv_kws(ALL_CPV_KWS)
+ print_cpv_kws(all_cpv_kws)
if __name__ == '__main__':