summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-24 08:59:13 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-24 08:59:13 +0000
commitd081032d6b49f1df9e32e892573b51968854d07c (patch)
tree5b9430b4bf867e1807ec9971683ab6023ba1a94c /tool/downloader.rb
parentd2172c8d190c60b4d218130df15a540ed7f72d35 (diff)
tool/downloader.rb: Fixing raise after return.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r--tool/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb
index 88207f4..12c0e59 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -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