From 5dfea1e4902b9b2fdf62a594e004e3768fa1813e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Mon, 8 May 2006 17:19:45 +0000 Subject: [PATCH] * fix: do show installed only packages --- pisi/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/api.py b/pisi/api.py index 48da7252..ed92efd8 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -272,7 +272,7 @@ def info_file(package_fn): def info_name(package_name, installed=False): """fetch package information for a package""" - if ctx.packagedb.has_package(package_name): + if ctx.packagedb.has_package(package_name, pisi.itembyrepodb.all): if installed: package = ctx.packagedb.get_package(package_name, pisi.itembyrepodb.installed) else: