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
commit0675ba29464fd9600f83eafff2df5c8e993d7533 (patch)
treed412c780d496cb33911760cfb4f4248c9eb5fc30 /Library/Homebrew/cmd
parent1935e4fcd6601bb413991f2524aaf4e46dbbff8b (diff)
downloadhomebrew-0675ba29464fd9600f83eafff2df5c8e993d7533.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"'])?/