[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. debian/0.1.3-18-g9acbf92

Ryan Niebur ryanryan52 at gmail.com
Mon May 10 01:14:17 UTC 2010


The following commit has been merged in the master branch:
commit 0ba834bb805fa6e7872a13778524556a3fcc4667
Author: Francesco Poli (t1000) <frx at firenze.linux.it>
Date:   Wed May 5 22:16:49 2010 +0200

    fix comment in code for apt.conf proxy settings
    
    More descriptive comment for code that loads apt.conf proxy settings.
    Moreover, apt.conf should not be capitalized.

diff --git a/lib/apt-listbugs/logic.rb b/lib/apt-listbugs/logic.rb
index 8822834..b864445 100644
--- a/lib/apt-listbugs/logic.rb
+++ b/lib/apt-listbugs/logic.rb
@@ -186,9 +186,9 @@ class AppConfig
       ENV["soap_use_proxy"] = "on"
     end
 
-    # http_proxy check
+    # proxy settings in apt.conf
       if /http_proxy='(.*)'/ =~ `apt-config #{@apt_conf} shell http_proxy acquire::http::proxy` 
-        puts "proxy configuration from APT.CONF: #{$1}" if $DEBUG
+        puts "proxy configuration from apt.conf: #{$1}" if $DEBUG
         if $1 == 'DIRECT' || $1 == ''
           puts "Disabling proxy due to DIRECT, or empty string" if $DEBUG          
           ENV.delete("http_proxy")
@@ -199,7 +199,7 @@ class AppConfig
         end
       end
       if /http_proxy='(.*)'/ =~ `apt-config #{@apt_conf} shell http_proxy acquire::http::proxy::bugs.debian.org` 
-        puts "proxy configuration from APT.CONF, specific for bugs.debian.org: #{$1}" if $DEBUG
+        puts "proxy configuration from apt.conf, specific for bugs.debian.org: #{$1}" if $DEBUG
         if $1 == 'DIRECT' 
           puts "Disabling proxy due to DIRECT" if $DEBUG
           ENV.delete("http_proxy")

-- 
apt-listbugs development tree



More information about the Apt-listbugs-commits mailing list