[前][次][番号順一覧][スレッド一覧]

ruby-changes:55244

From: duerst <ko1@a...>
Date: Sat, 6 Apr 2019 08:16:06 +0900 (JST)
Subject: [ruby-changes:55244] duerst:r67451 (trunk): revert r67445, (r67446, ) r67447

duerst	2019-04-06 08:16:00 +0900 (Sat, 06 Apr 2019)

  New Revision: 67451

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67451

  Log:
    revert r67445, (r67446,) r67447
    
    Debugging output is no longer needed because the problem has been fixed with r67449.

  Modified files:
    trunk/tool/downloader.rb
Index: tool/downloader.rb
===================================================================
--- tool/downloader.rb	(revision 67450)
+++ tool/downloader.rb	(revision 67451)
@@ -74,9 +74,6 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L74
     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 https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L147
   #   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 https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L323
 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?

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]