Explorar el Código

Use descriptive URIs in 104 Warning messages

This makes the new GPG related warnings much nicer to read,
for example, the second one here replaces the first one:

W: gpgv:/var/lib/apt/lists/example.com_dists_stable_InRelease: Weak ...
W: http://example.com/dists/stable/InRelease: Weak ...
Julian Andres Klode hace 10 años
padre
commit
421807e1d3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apt-pkg/acquire-worker.cc

+ 1 - 1
apt-pkg/acquire-worker.cc

@@ -279,7 +279,7 @@ bool pkgAcquire::Worker::RunMessages()
          }
 	 // 104 Warning
 	 case 104:
-	    _error->Warning("%s: %s", Itm->URI.c_str(), LookupTag(Message,"Message").c_str());
+	    _error->Warning("%s: %s", Itm->Owner->DescURI().c_str(), LookupTag(Message,"Message").c_str());
 	    break;
 
 	 // 200 URI Start