[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:19 UTC 2010


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

    fix indenting
    
    Just move a code block two columns to the left, to fix indenting.

diff --git a/lib/apt-listbugs/logic.rb b/lib/apt-listbugs/logic.rb
index b864445..e873208 100644
--- a/lib/apt-listbugs/logic.rb
+++ b/lib/apt-listbugs/logic.rb
@@ -187,28 +187,28 @@ class AppConfig
     end
 
     # 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
-        if $1 == 'DIRECT' || $1 == ''
-          puts "Disabling proxy due to DIRECT, or empty string" if $DEBUG          
-          ENV.delete("http_proxy")
-          ENV.delete("soap_use_proxy")
-        else
-          ENV["http_proxy"] = $1
-          ENV["soap_use_proxy"] = "on"
-        end
+    if /http_proxy='(.*)'/ =~ `apt-config #{@apt_conf} shell http_proxy acquire::http::proxy` 
+      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")
+        ENV.delete("soap_use_proxy")
+      else
+        ENV["http_proxy"] = $1
+        ENV["soap_use_proxy"] = "on"
       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
-        if $1 == 'DIRECT' 
-          puts "Disabling proxy due to DIRECT" if $DEBUG
-          ENV.delete("http_proxy")
-          ENV.delete("soap_use_proxy")
-        else
-          ENV["http_proxy"] = $1
-          ENV["soap_use_proxy"] = "on"
-        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
+      if $1 == 'DIRECT' 
+        puts "Disabling proxy due to DIRECT" if $DEBUG
+        ENV.delete("http_proxy")
+        ENV.delete("soap_use_proxy")
+      else
+        ENV["http_proxy"] = $1
+        ENV["soap_use_proxy"] = "on"
       end
+    end
 
     # command 
     command = ARGV.shift

-- 
apt-listbugs development tree



More information about the Apt-listbugs-commits mailing list