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:
parent
d2172c8d19
commit
d081032d6b
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue