From e4538373043b8eca1c1e7ee30fa7bd2d07a33a09 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 6 Mar 2018 09:30:21 +0000 Subject: [PATCH] brew-aspell-dictionaries: use more explicit open. --- cmd/brew-aspell-dictionaries.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/brew-aspell-dictionaries.rb b/cmd/brew-aspell-dictionaries.rb index 260560733295b..4fe7f175b5197 100755 --- a/cmd/brew-aspell-dictionaries.rb +++ b/cmd/brew-aspell-dictionaries.rb @@ -10,7 +10,7 @@ languages = {} -open("#{dict_url}/0index.html") do |content| +URI.parse("#{dict_url}/0index.html").open do |content| content.each_line do |line| break if %r{^