summaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'trunk')
-rwxr-xr-xtrunk/src/equery/equery3
1 files changed, 3 insertions, 0 deletions
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):