[entropy.qa] fix regression in get_deep_dependency_list(), only add valid matches to result

This commit is contained in:
Fabio Erculiani
2011-01-01 18:15:48 +01:00
parent 4e8bcf07d7
commit e8ecb55b6a
+2 -2
View File
@@ -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)