aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2013-09-14 11:49:54 +0100
committerMike McQuaid2013-09-14 12:21:49 +0100
commit315c7a12127999cc9b757cdf93aa7fa5f8eb772b (patch)
treed8224cae394e6283baaaada28babe098898d089b /Library/Homebrew/cmd
parenta16394fde8cb201aaced2a89816868eed386670e (diff)
downloadbrew-315c7a12127999cc9b757cdf93aa7fa5f8eb772b.tar.bz2
Rename PythonInstalled to PythonDependency.
Make it more consistent with other requirements.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index af111a564..b970ccf8a 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -568,8 +568,8 @@ class FormulaAuditor
end
end
- unless f.requirements.any?{ |r| r.kind_of?(PythonInstalled) }
- # So if there is no PythonInstalled requirement, we can check if the
+ unless f.requirements.any?{ |r| r.kind_of?(PythonDependency) }
+ # So if there is no PythonDependency requirement, we can check if the
# formula still uses python and should add a `depends_on :python`
unless f.name.to_s =~ /(pypy[0-9]*)|(python[0-9]*)/
if text =~ /system.["' ]?python([0-9"'])?/