From: genone Date: Mon, 26 Jan 2004 17:30:05 +0000 (-0000) Subject: fixed 'equery belongs' for injected and metapackages X-Git-Tag: gentoolkit-0.2.4.3~428 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d655de7c45b22181efd5c428ae8ce841c35c26d4;p=gentoolkit.git fixed 'equery belongs' for injected and metapackages svn path=/; revision=74 --- diff --git a/trunk/src/equery/equery b/trunk/src/equery/equery index b94234e..3978ccf 100755 --- a/trunk/src/equery/equery +++ b/trunk/src/equery/equery @@ -203,6 +203,9 @@ class CmdListBelongs(Command): found = 0 for pkg in matches: + # ignore meta ebuilds and injected packages + if not cnt: + continue cnt = pkg.get_contents() for file in cnt.keys(): if rx.search(file):