diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-29 00:02:11 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-29 00:02:11 +0000 |
commit | 6a88e04ae474646b9aa366da538d552cda5a8f19 (patch) | |
tree | 9e318cdd7ca6c265b31e956c4cfc18347b6e94eb | |
parent | 5ef910d80dd92fc6ae54eb0b996ee3e5c9555bc7 (diff) | |
download | portage-6a88e04ae474646b9aa366da538d552cda5a8f19.tar.gz portage-6a88e04ae474646b9aa366da538d552cda5a8f19.tar.bz2 portage-6a88e04ae474646b9aa366da538d552cda5a8f19.zip |
Don't trigger the 'java.eclassesnotused' on blocker atoms.
svn path=/main/trunk/; revision=9586
-rwxr-xr-x | bin/repoman | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman index 4d7aa19ca..1ebf71d58 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1159,8 +1159,12 @@ for x in scanlist: if not portage.isvalidatom(token, allow_blockers=True): badsyntax.append("'%s' not a valid atom" % token) else: - atom = token.lstrip("!") + atom = token + is_blocker = atom.startswith("!") + if is_blocker: + atom = token.lstrip("!") if mytype == "DEPEND" and \ + not is_blocker and \ not inherited_java_eclass and \ portage.dep_getkey(atom) == "virtual/jdk": stats['java.eclassesnotused'] += 1 |