]> git.saurik.com Git - apt.git/commitdiff
apt-cache: Change version pin output to use per-version pins
authorJulian Andres Klode <jak@debian.org>
Mon, 10 Aug 2015 09:31:19 +0000 (11:31 +0200)
committerJulian Andres Klode <jak@debian.org>
Mon, 10 Aug 2015 09:31:19 +0000 (11:31 +0200)
cmdline/apt-cache.cc

index c2f6dbd5c8fbd31eeb7149237a7d6a4935eda8fc..303605f7029468caf23917630795577466e817ec 100644 (file)
@@ -1728,7 +1728,7 @@ static bool Policy(CommandLine &CmdL)
            cout << " *** " << V.VerStr();
         else
            cout << "     " << V.VerStr();
-        cout << " " << Plcy->GetPriority(Pkg) << endl;
+        cout << " " << Plcy->GetPriority(V) << endl;
         for (pkgCache::VerFileIterator VF = V.FileList(); VF.end() == false; ++VF)
         {
            // Locate the associated index files so we can derive a description