From 101c79cbdde35ffd288c3bfe4a7d344b76a5d720 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@cd1c1023-2f26-0410-ae45-c471fc1f0318> Date: Thu, 20 Dec 2007 03:53:56 +0000 Subject: [PATCH] fixing two minor glitches git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@920 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- client/uiTools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/uiTools.py b/client/uiTools.py index 4e468785a..9ae520034 100644 --- a/client/uiTools.py +++ b/client/uiTools.py @@ -627,6 +627,8 @@ def installPackages(packages = [], atomsdata = [], deps = True, emptydeps = Fals removalQueue.remove(myremmatch[testtuple]) del testtuple del myremmatch + # update + pkgsToRemove = len(removalQueue) #''' @@ -663,7 +665,7 @@ def installPackages(packages = [], atomsdata = [], deps = True, emptydeps = Fals removalQueue.append(depend) ''' - if (etpUi['ask'] or etpUi['pretend'] or etpUi['verbose']): + if (etpUi['ask'] or etpUi['pretend'] or etpUi['verbose']) and removalQueue: if not (etpUi['quiet'] or returnQueue): print_info(red(" @@ ")+blue("These are the packages that would be ")+bold("removed")+blue(" (conflicting/substituted):")) for idpackage in removalQueue: