From ebcdb7e40510f2fe8d0a556e8a0e74d70e7bc7de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Thu, 16 Nov 2006 19:14:43 +0000 Subject: [PATCH] =?UTF-8?q?pisi=20lp=20=C3=A7=C4=B1kt=C4=B1=20vermeden=20s?= =?UTF-8?q?onlanmas=C4=B1n,=20ne=20oldu=C4=9Funu=20yazs=C4=B1n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/cli/commands.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index d7e8ffe4..f535dd39 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -1466,8 +1466,11 @@ Lists packages waiting to be configured. self.init(database = True, write = False) list = ctx.installdb.list_pending() - for p in list.keys(): - print p + if len(list.keys()): + for p in list.keys(): + print p + else: + ctx.ui.info(_('There are no packages waiting to be configured')) self.finalize()