aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-09-19 12:19:38 -0500
committerJack Nagel2011-09-19 12:19:50 -0500
commit1dc0775a15302830725d45e9912f61e0fdfb5596 (patch)
treeadd6205796d253f54ac15d371e4136b205068a87 /Library
parent9b3c22c7bd42449b7fd3e55636174d91993daaae (diff)
downloadbrew-1dc0775a15302830725d45e9912f61e0fdfb5596.tar.bz2
Revert "Pretty-print the "Trying a mirror" message"
This reverts commit af8e3b5aeacdb10a412560e131d631ba733a8346. Sorry for the noise. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 643b87ba9..6ed03af14 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -563,8 +563,7 @@ private
fetched = downloader.fetch
rescue DownloadError => e
raise e if mirror_list.empty?
- opoo e.message
- oh1 "Trying a mirror"
+ opoo "#{e.message}\nTrying a mirror."
url, specs = mirror_list.shift.values_at :url, :specs
downloader = download_strategy.new url, name, version, specs
retry