diff options
| author | Mike McQuaid | 2013-09-14 11:49:54 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-14 12:21:49 +0100 |
| commit | 0675ba29464fd9600f83eafff2df5c8e993d7533 (patch) | |
| tree | d412c780d496cb33911760cfb4f4248c9eb5fc30 /Library/Homebrew/cmd | |
| parent | 1935e4fcd6601bb413991f2524aaf4e46dbbff8b (diff) | |
| download | homebrew-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.rb | 4 |
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"'])?/ |
