From d655de7c45b22181efd5c428ae8ce841c35c26d4 Mon Sep 17 00:00:00 2001 From: genone Date: Mon, 26 Jan 2004 17:30:05 +0000 Subject: [PATCH] fixed 'equery belongs' for injected and metapackages svn path=/; revision=74 --- trunk/src/equery/equery | 3 +++ 1 file changed, 3 insertions(+) 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): -- 2.26.2