From 94f06f24e95e39f1a76137125bdf21a02d84e990 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 7 Oct 2008 15:36:49 +0000 Subject: Change the "qawarnings" variable from a list to a set. svn path=/main/trunk/; revision=11651 --- bin/repoman | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/repoman') 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", -- cgit v1.2.3-1-g7c22