From: Zac Medico Date: Fri, 16 Jan 2009 22:24:06 +0000 (-0000) Subject: Fix false positive in the 'unused local USE-description' warning. Thanks to X-Git-Tag: v2.2_rc23~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=42eb4ea70259dc0e24a5767a4d8f815d632ba228;p=portage.git Fix false positive in the 'unused local USE-description' warning. Thanks to Alexis Ballier for reporting. svn path=/main/trunk/; revision=12524 --- diff --git a/bin/repoman b/bin/repoman index 217e8acc3..05d6d99c2 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):