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