[entropy.qa] fix regression in get_deep_dependency_list(), only add valid matches to result
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user