use just one line for the debug output (thanks to donkult for the review)
authorMichael Vogt <mvo@debian.org>
Thu, 27 Jun 2013 08:27:29 +0000 (10:27 +0200)
committerMichael Vogt <mvo@debian.org>
Thu, 27 Jun 2013 08:27:29 +0000 (10:27 +0200)
apt-pkg/algorithms.cc

index b08b8dc..c2c38e7 100644 (file)
@@ -846,8 +846,7 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
    while (Again == true);
 
    if (Debug == true) {
-      clog << "Starting" << endl;
-      clog << " Broken count: " << Cache.BrokenCount() << endl;
+      clog << "Starting, broken count: " << Cache.BrokenCount() << endl;
    }
    
    MakeScores();
@@ -877,8 +876,7 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
    }
 
    if (Debug == true) {
-      clog << "Starting 2" << endl;
-      clog << " Broken count: " << Cache.BrokenCount() << endl;
+      clog << "Starting 2, broken count: " << Cache.BrokenCount() << endl;
    }
 
    /* Now consider all broken packages. For each broken package we either