]> git.saurik.com Git - apt.git/commitdiff
remove useless pdiff filename output
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 10 Oct 2014 20:03:08 +0000 (22:03 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 10 Oct 2014 20:03:08 +0000 (22:03 +0200)
Looks like a leftover from debugging. Absolutely no need for it and
destroys progess reporting completely.

Closes: 764737
apt-pkg/acquire-item.cc

index 604a2e07e5404937326c44f86701e40ff275df13..65c260f3a671924a89321fb0bcb11fa8122001b1 100644 (file)
@@ -1068,10 +1068,9 @@ void pkgAcqIndexMergeDiffs::Done(string Message,unsigned long long Size,HashStri
       for (std::vector<pkgAcqIndexMergeDiffs *>::const_iterator I = allPatches->begin();
            I != allPatches->end(); ++I)
       {
-            std::string const PartialFile = GetPartialFileNameFromURI(RealURI);
-           std::string patch = PartialFile + ".ed." + (*I)->patch.file + ".gz";
-            std::cerr << patch << std::endl;
-           unlink(patch.c_str());
+        std::string const PartialFile = GetPartialFileNameFromURI(RealURI);
+        std::string patch = PartialFile + ".ed." + (*I)->patch.file + ".gz";
+        unlink(patch.c_str());
       }
 
       // all set and done