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
commit84287e58cd168659247839c79e92c05dee21cfa7 (patch)
treef624a7feed2041c4529fcb72090d5006e75f0199 /Library
parent2cc2da2e2c3e6d18ba46d4a3c2534cf1c0090fe3 (diff)
downloadhomebrew-84287e58cd168659247839c79e92c05dee21cfa7.tar.bz2
doctor: don't complain if reads_brewed_pth_files? is nil
Closes #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