Explorar el Código

Add conflicting Signed-By values to error message

This hopefully makes debugging things easier.
Julian Andres Klode hace 10 años
padre
commit
a9fd02dec5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apt-pkg/deb/debmetaindex.cc

+ 1 - 1
apt-pkg/deb/debmetaindex.cc

@@ -692,7 +692,7 @@ bool debReleaseIndex::SetSignedBy(std::string const &pSignedBy)
       }
    }
    else if (SignedBy != pSignedBy)
-      return _error->Error(_("Conflicting values set for option %s regarding source %s %s"), "Signed-By", URI.c_str(), Dist.c_str());
+      return _error->Error(_("Conflicting values set for option %s regarding source %s %s: %s != %s"), "Signed-By", URI.c_str(), Dist.c_str(), SignedBy.c_str(), pSignedBy.c_str());
    return true;
 }
 									/*}}}*/