aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim D. Smith2014-11-10 19:25:46 -0800
committerTim D. Smith2014-11-14 16:05:26 -0800
commitf388992b0268e615ad85ebdc94299ce8dd232040 (patch)
tree75f059c6ebcc22db1609ceba9b60d7feda357d38 /Library
parent10d0824483034be6d1a7dc56c747776b78715980 (diff)
downloadbrew-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.rb2
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