Просмотр исходного кода

use just one line for the debug output (thanks to donkult for the review)

Michael Vogt лет назад: 13
Родитель
Сommit
dcab2a78e1
1 измененных файлов с 2 добавлено и 4 удалено
  1. 2 4
      apt-pkg/algorithms.cc

+ 2 - 4
apt-pkg/algorithms.cc

@@ -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