diff --git a/ChangeLog b/ChangeLog index 7652a14808..69f5f4cc56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 24 17:59:59 2014 Martin Duerst + + * tool/downloader.rb: Fixing raise after return. + Tue Sep 24 17:55:55 2014 Martin Duerst * tool/downloader.rb: Made Unicode data file location available diff --git a/tool/downloader.rb b/tool/downloader.rb index 88207f4c95..12c0e595c2 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