[Bps-public-commit] Shipwright branch, master, updated. 1eba3add055b34d33322410fd2becf4a11dbfc1f

? sunnavy sunnavy at bestpractical.com
Thu Aug 11 05:26:19 EDT 2011


The branch, master has been updated
       via  1eba3add055b34d33322410fd2becf4a11dbfc1f (commit)
      from  d9566c14a624e70e6fbac882c103f446dbb0612d (commit)

Summary of changes:
 lib/Shipwright/Source/Base.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 1eba3add055b34d33322410fd2becf4a11dbfc1f
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Aug 11 17:25:53 2011 +0800

    support env proxy for lwp thanks to dichi++

diff --git a/lib/Shipwright/Source/Base.pm b/lib/Shipwright/Source/Base.pm
index 0efd03e..1e779f7 100644
--- a/lib/Shipwright/Source/Base.pm
+++ b/lib/Shipwright/Source/Base.pm
@@ -771,6 +771,7 @@ sub _lwp_get {
     my $source = shift;
     require LWP::UserAgent;
     my $ua = LWP::UserAgent->new;
+    $ua->env_proxy();
     $ua->timeout( $ENV{SHIPWRIGHT_LWP_TIMEOUT} )
       if $ENV{SHIPWRIGHT_LWP_TIMEOUT};
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list