From 0675ba29464fd9600f83eafff2df5c8e993d7533 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 14 Sep 2013 11:49:54 +0100 Subject: Rename PythonInstalled to PythonDependency. Make it more consistent with other requirements. --- Library/Homebrew/cmd/audit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/cmd') 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"'])?/ -- cgit v1.2.3