From dbe3b2cf7aeef1e2560147b03516912660c05603 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 18 Jan 2009 23:43:41 +0000 Subject: Fix false positive in the 'unused local USE-description' warning. Thanks to Alexis Ballier for reporting. (trunk r12524) svn path=/main/branches/2.1.6/; revision=12536 --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index 5e9ee1cc9..99f37cc86 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1369,11 +1369,11 @@ for x in scanlist: default_use = [] for myflag in myaux["IUSE"].split(): flag_name = myflag.lstrip("+-") + used_useflags.add(flag_name) if myflag != flag_name: default_use.append(myflag) if flag_name not in uselist: myuse.append(flag_name) - used_useflags.update(myuse) # uselist checks - metadata for mypos in range(len(myuse)-1,-1,-1): -- cgit v1.2.3-1-g7c22