1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

tool/downloader.rb: Fixing raise after return.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
duerst 2014-09-24 08:59:13 +00:00
parent d2172c8d19
commit d081032d6b
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Sep 24 17:59:59 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* tool/downloader.rb: Fixing raise after return.
Tue Sep 24 17:55:55 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* tool/downloader.rb: Made Unicode data file location available

View file

@ -67,7 +67,7 @@ class Downloader
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