From e7ebeb39b364a7d45ef52d4e8babae2ab9eb3ffc Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Sun, 5 Feb 2006 14:22:11 +0000 Subject: [PATCH] clean up logging --- zypp/solver/detail/ResolverUpgrade.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/zypp/solver/detail/ResolverUpgrade.cc b/zypp/solver/detail/ResolverUpgrade.cc index bc409d9..ab37cac 100644 --- a/zypp/solver/detail/ResolverUpgrade.cc +++ b/zypp/solver/detail/ResolverUpgrade.cc @@ -234,7 +234,6 @@ Resolver::doUpgrade( UpgradeStatistics & opt_stats_r ) ++opt_stats_r.pre_todel; continue; } -MIL << "look at item " << item << endl; if ( item.status().isInstalled() ) { installed = item; CandidateMap::const_iterator cand_it = candidatemap.find(installed); @@ -249,7 +248,7 @@ MIL << "look at item " << item << endl; ++opt_stats_r.pre_nocand; continue; } -MIL << "item is installed, candidate is " << candidate << endl; +MIL << "item " << item << " is installed, candidate is " << candidate << endl; if (candidate.status().isUnneeded()) { // seen already candidate.status().setUndetermined(); continue; @@ -258,7 +257,6 @@ MIL << "item is installed, candidate is " << candidate << endl; candidatemap[installed] = candidate; } else { // assume Uninstalled -MIL << "item is uninstalled" << endl; if (item.status().isUnneeded()) { // seen already item.status().setUndetermined(); continue; @@ -267,7 +265,7 @@ MIL << "item is uninstalled" << endl; candidate.status().setUnneeded(); // mark as seen installed = Helper::findInstalledItem (_pool, candidate); if (installed) { // check if we already have an installed -MIL << "found installed for item: " << installed << endl; +MIL << "found installed " << installed << " for item " << candidate << endl; CandidateMap::const_iterator cand_it = candidatemap.find(installed); if (cand_it == candidatemap.end() // not in map yet || cand_it->second->edition().compare (candidate->edition()) < 0) // or the new is better! @@ -275,9 +273,6 @@ MIL << "found installed for item: " << installed << endl; candidatemap[installed] = candidate; // put it in ! } } - else { -MIL << "no installed for item" << endl; - } } #warning FIXME needs locks -- 2.7.4