[reagent] fix "reagent query list"

This commit is contained in:
Fabio Erculiani
2011-07-26 09:07:52 +02:00
parent 6c41ad57d7
commit 2e299ddf75

View File

@@ -119,7 +119,7 @@ def query(myopts):
if myopts and (repository_id not in myopts):
continue
repo_db = entropy_server.open_repository(repository_id)
if text_query.search_repository_packages(myopts, entropy_server, repo_db) != 0:
if text_query.search_repository_packages([], entropy_server, repo_db) != 0:
rc = 1
elif cmd == "changelog":
rc = 0