From 7df136cd50f4d5a621cc8bc4bbdeaf4b3216e627 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 13 Nov 2013 20:19:35 -0800 Subject: [PATCH] grammar edits --- Library/Homebrew/blacklist.rb | 2 +- Library/Homebrew/requirements/python_dependency.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/blacklist.rb b/Library/Homebrew/blacklist.rb index 4f981fa8ba..c63c15437b 100644 --- a/Library/Homebrew/blacklist.rb +++ b/Library/Homebrew/blacklist.rb @@ -32,7 +32,7 @@ def blacklisted? name sudo easy_install pip EOS when 'pil' then <<-EOS.undent - Instead of PIL, consider to `pip install pillow` or `brew install samueljohn/python/pillow`. + Instead of PIL, consider `pip install pillow` or `brew install samueljohn/python/pillow`. EOS when 'macruby' then <<-EOS.undent MacRuby works better when you install their package: diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb index ff1d0ba677..b15d7f7069 100644 --- a/Library/Homebrew/requirements/python_dependency.rb +++ b/Library/Homebrew/requirements/python_dependency.rb @@ -85,7 +85,7 @@ class PythonDependency < Requirement ENV['PYTHONPATH'] = nil @unsatisfied_because = '' if binary.nil? || !binary.executable? - @unsatisfied_because += "No `#{@python}` found in your PATH! Consider to `brew install #{@python}`." + @unsatisfied_because += "No `#{@python}` found in your PATH. To install with Homebrew use `brew install #{@python}`." false elsif pypy? @unsatisfied_because += "Your #{@python} executable appears to be a PyPy, which is not supported." @@ -97,7 +97,7 @@ class PythonDependency < Requirement @unsatisfied_because += "Python version #{version} is too old (need at least #{@min_version})." false elsif @min_version.major == 2 && `python -c "import sys; print(sys.version_info[0])"`.strip == "3" - @unsatisfied_because += "Your `python` points to a Python 3.x. This is not supported." + @unsatisfied_because += "Your `python` points to Python 3.x; this is not supported." false else @imports.keys.all? do |module_name|