diff options
| author | Jack Nagel | 2013-08-14 12:43:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-14 12:46:12 -0500 |
| commit | 3857f83e9c9b23004261bbc97aabf2a889f272e5 (patch) | |
| tree | 1eea5deb8aa07586cd96602d1bd6e5f0367bb200 /Library | |
| parent | 3d39a571187db5fa85122a4fc779c4d59d8012bc (diff) | |
| download | brew-3857f83e9c9b23004261bbc97aabf2a889f272e5.tar.bz2 | |
Collapse to one-liner
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/requirements/python_dependency.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb index 971d85edd..e1146d31d 100644 --- a/Library/Homebrew/requirements/python_dependency.rb +++ b/Library/Homebrew/requirements/python_dependency.rb @@ -98,9 +98,7 @@ class PythonInstalled < Requirement @unsatisfied_because += "Brewed " if brewed? @unsatisfied_because += "External " unless brewed? || from_osx? @unsatisfied_because += "Python cannot `import #{module_name}`. Install with:\n " - unless importable? 'pip' - @unsatisfied_because += "sudo easy_install pip\n " - end + @unsatisfied_because += "sudo easy_install pip\n " unless importable? 'pip' @unsatisfied_because += "pip-#{version.major}.#{version.minor} install #{@imports[module_name]}" false else |
