зеркало из https://github.com/github/ruby.git
revert r67445, (r67446,) r67447
Debugging output is no longer needed because the problem has been fixed with r67449. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6e0e93e60e
Коммит
cab005db92
|
@ -74,9 +74,6 @@ class Downloader
|
|||
UNICODE_PUBLIC = "http://www.unicode.org/Public/"
|
||||
|
||||
def self.download(name, dir = nil, since = true, options = {})
|
||||
if $VERBOSE # temporary, for debugging only
|
||||
$stdout.puts "Downloader::Unicode#download, name='#{name}', dir='#{dir}', since='#{since}', options='#{options.inspect}'"
|
||||
end
|
||||
options = options.dup
|
||||
unicode_beta = options.delete(:unicode_beta)
|
||||
name_dir_part = name.sub(/[^\/]+$/, '')
|
||||
|
@ -150,10 +147,6 @@ class Downloader
|
|||
# download 'http://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt',
|
||||
# 'UnicodeData.txt', 'enc/unicode/data'
|
||||
def self.download(url, name, dir = nil, since = true, options = {})
|
||||
if $VERBOSE # temporary, for debugging only
|
||||
$stdout.puts "Downloader#download, url='#{url}', name='#{name}', dir='#{dir}', since='#{since}', options='#{options.inspect}'"
|
||||
end
|
||||
|
||||
options = options.dup
|
||||
url = URI(url)
|
||||
dryrun = options.delete(:dryrun)
|
||||
|
@ -330,7 +323,6 @@ end
|
|||
Downloader.https = https.freeze
|
||||
|
||||
if $0 == __FILE__
|
||||
puts "==== downloader.rb called with the following arguments: #{ARGV.join ' '}" # additional output for debugging
|
||||
since = true
|
||||
options = {}
|
||||
until ARGV.empty?
|
||||
|
|
Загрузка…
Ссылка в новой задаче