[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. debian/0.1.2-8-g94d34de

Ryan Niebur ryanryan52 at gmail.com
Sun Jan 31 20:49:42 UTC 2010


The following commit has been merged in the master branch:
commit 98353c582852ea55f6779c13aff995a547a45835
Author: Francesco Poli (t1000) <frx at firenze.linux.it>
Date:   Sun Jan 17 21:18:06 2010 +0100

    use a clearer negative priority
    
    A Pin-Priority of -40 is visually clearer.
    I know that, in general, hard-coding a value is not good practice,
    but, in the present case, I don't feel that introducing a configuration
    parameter makes too much sense...

diff --git a/lib/apt-listbugs/logic.rb b/lib/apt-listbugs/logic.rb
index eb09dcd..e92763b 100644
--- a/lib/apt-listbugs/logic.rb
+++ b/lib/apt-listbugs/logic.rb
@@ -474,7 +474,7 @@ class Viewer
 	  pin_ver = cur_pkgs[pkg]['version']
         else
           pin_ver = "*"
-          pin_pri = "-1"
+          pin_pri = "-40"
 	end
 	holdstr << "
 Explanation: Pinned by apt-listbugs at #{Time.now}"

-- 
apt-listbugs development tree



More information about the Apt-listbugs-commits mailing list