diff --git a/lib/rhc/ssh_helpers.rb b/lib/rhc/ssh_helpers.rb index 36391990d..4f2039739 100644 --- a/lib/rhc/ssh_helpers.rb +++ b/lib/rhc/ssh_helpers.rb @@ -239,7 +239,6 @@ def ssh_send_file_ruby(host, username, command, filename) # def ssh_send_url_ruby(host, username, command, content_url) content_url = URI.parse(URI.encode(content_url.to_s)) - proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new ssh_ruby(host, username, command) do |channel| HTTPClient.new.get_content(content_url) do |chunk| channel.send_data chunk