]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-list.cc
The following command otherwise yields many blank lines:
[apt.git] / apt-private / private-list.cc
index b69002103e3d44d8e3a6b33315fb6a48dc3f3874..f984565762319565663f6608ef99625a7d502b6c 100644 (file)
@@ -93,7 +93,6 @@ static void ListAllVersions(pkgCacheFile &CacheFile, pkgRecords &records,/*{{{*/
         Ver.end() == false; ++Ver)
    {
       ListSingleVersion(CacheFile, records, Ver, outs, include_summary);
-      outs << "\n";
    }
 }
                                                                        /*}}}*/
@@ -149,7 +148,7 @@ bool DoList(CommandLine &Cmd)
    // FIXME: SORT! and make sorting flexible (alphabetic, by pkg status)
    // output the sorted map
    for (K = output_map.begin(); K != output_map.end(); ++K)
-      std::cout << (*K).second << std::endl;
+      std::cout << (*K).second;
 
 
    // be nice and tell the user if there is more to see