diff options
| author | Tim D. Smith | 2014-11-10 19:25:46 -0800 |
|---|---|---|
| committer | Tim D. Smith | 2014-11-14 16:05:26 -0800 |
| commit | f388992b0268e615ad85ebdc94299ce8dd232040 (patch) | |
| tree | 75f059c6ebcc22db1609ceba9b60d7feda357d38 /Library | |
| parent | 10d0824483034be6d1a7dc56c747776b78715980 (diff) | |
| download | brew-f388992b0268e615ad85ebdc94299ce8dd232040.tar.bz2 | |
doctor: don't complain if reads_brewed_pth_files? is nil
Closes Homebrew/homebrew#33957.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 35259532f..933aaa2ae 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -1165,7 +1165,7 @@ end def check_for_pth_support homebrew_site_packages = Language::Python.homebrew_site_packages return unless homebrew_site_packages.directory? - return if Language::Python.reads_brewed_pth_files? "python" + return if Language::Python.reads_brewed_pth_files?("python") != false return unless Language::Python.in_sys_path?("python", homebrew_site_packages) user_site_packages = Language::Python.user_site_packages "python" <<-EOS.undent |
