ruby-changes:35624
From: duerst <ko1@a...>
Date: Wed, 24 Sep 2014 17:59:20 +0900 (JST)
Subject: [ruby-changes:35624] duerst:r47706 (trunk): tool/downloader.rb: Fixing raise after return.
duerst 2014-09-24 17:59:13 +0900 (Wed, 24 Sep 2014) New Revision: 47706 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47706 Log: tool/downloader.rb: Fixing raise after return. Modified files: trunk/ChangeLog trunk/tool/downloader.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 47705) +++ ChangeLog (revision 47706) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Sep 24 17:59:59 2014 Martin Duerst <duerst@i...> + + * tool/downloader.rb: Fixing raise after return. + Tue Sep 24 17:55:55 2014 Martin Duerst <duerst@i...> * tool/downloader.rb: Made Unicode data file location available Index: tool/downloader.rb =================================================================== --- tool/downloader.rb (revision 47705) +++ tool/downloader.rb (revision 47706) @@ -67,7 +67,7 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L67 begin data = url.read(http_options(file, ims)) rescue OpenURI::HTTPError => http_error - return http_error.message =~ /^304 / # 304 Not Modified + return true if http_error.message =~ /^304 / # 304 Not Modified raise end mtime = nil -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/