From b1f4655cb6931ed86cc50d08a4c261de4da7942a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Thu, 8 Sep 2005 23:55:04 +0000 Subject: [PATCH] make pisi.api.install return a boolean. fixes: #464 --- pisi/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/api.py b/pisi/api.py index eeb75da6..38fec398 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -68,9 +68,9 @@ def install(packages): try: # determine if this is a list of files/urls or names if packages[0].endswith(ctx.const.package_prefix): # they all have to! - install_pkg_files(packages) + return install_pkg_files(packages) else: - install_pkg_names(packages) + return install_pkg_names(packages) except InstallError, e: ctx.ui.error("%s\n" % e)