summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-07 15:36:49 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-07 15:36:49 +0000
commit94f06f24e95e39f1a76137125bdf21a02d84e990 (patch)
tree0e1e76f89ebca269da1238f2204c3809eb6c4f95 /bin
parent2db1799dc02978448b0441633e8cd07eee6d2ade (diff)
downloadportage-94f06f24e95e39f1a76137125bdf21a02d84e990.tar.gz
portage-94f06f24e95e39f1a76137125bdf21a02d84e990.tar.bz2
portage-94f06f24e95e39f1a76137125bdf21a02d84e990.zip
Change the "qawarnings" variable from a list to a set.
svn path=/main/trunk/; revision=11651
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman
index e281284ca..0ad3579d4 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -322,7 +322,7 @@ qahelp={
qacats = qahelp.keys()
qacats.sort()
-qawarnings=[
+qawarnings = frozenset((
"changelog.missing",
"changelog.notadded",
"digestentry.unused",
@@ -355,7 +355,7 @@ qawarnings=[
"virtual.unavailable",
"usage.obsolete",
"LIVEVCS.stable"
-]
+))
missingvars=["KEYWORDS","LICENSE","DESCRIPTION","HOMEPAGE","SLOT"]
allvars = set(x for x in portage.auxdbkeys if not x.startswith("UNUSED_"))
@@ -368,7 +368,7 @@ for x in missingvars:
if x not in qacats:
logging.warn('* missingvars values need to be added to qahelp ("%s")' % x)
qacats.append(x)
- qawarnings.append(x)
+ qawarnings.add(x)
valid_restrict = frozenset(["binchecks", "bindist",
"fetch", "installsources", "mirror",