summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2015-06-25 13:26:43 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2015-06-27 00:14:39 +0200
commit4571219b191c1786d7ff4b0e5a6ade19e5c30875 (patch)
tree2f0b86a1b782a788c487c7e5c031e0c943535ac9 /scripts
parentscripts/gen_archlist: rewrite consolidates_dupes using sets (diff)
downloadgnome-4571219b191c1786d7ff4b0e5a6ade19e5c30875.tar.gz
gnome-4571219b191c1786d7ff4b0e5a6ade19e5c30875.tar.bz2
gnome-4571219b191c1786d7ff4b0e5a6ade19e5c30875.zip
scripts/gen_archlist: add full CPV lines to our workset
Probably an overlooked rename.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_archlist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index d595df36..f9cf432b 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -479,8 +479,8 @@ def main():
if cp.find('#') is not -1:
raise Exception('Inline comments are not supported')
if portage.catpkgsplit(cp):
- # categ/pkg is already a categ/pkg-ver
- atoms = [cp]
+ # cat/pkg is already a categ/pkg-ver
+ cpvs = [cp]
else:
# Get all the atoms matching the given cp
cpvs = match_wanted_atoms(cp, release=args.new_version)