From e8ecb55b6a61ebcd722e9133fb70fdcc086aab99 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 1 Jan 2011 18:15:48 +0100 Subject: [PATCH] [entropy.qa] fix regression in get_deep_dependency_list(), only add valid matches to result --- libraries/entropy/qa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/entropy/qa.py b/libraries/entropy/qa.py index 17e80b774..49bcc47dc 100644 --- a/libraries/entropy/qa.py +++ b/libraries/entropy/qa.py @@ -1231,10 +1231,10 @@ class QAInterface(TextInterface, EntropyPluginStore): if atoms: result.add(mydep) - else: - result.add(match) if pkg_id != -1: + if not atoms: + result.add(match) pkg_dbconn = entropy_client.open_repository(pkg_repo) owndeps = pkg_dbconn.retrieveDependencies(pkg_id, exclude_deptypes = excluded_dep_types)