diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/qscintilla2.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/qscintilla2.rb b/Library/Formula/qscintilla2.rb index 10a6d9d2f..a521959fd 100644 --- a/Library/Formula/qscintilla2.rb +++ b/Library/Formula/qscintilla2.rb @@ -4,7 +4,7 @@ class PythonEnvironment < Requirement fatal true satisfy do - !(!Formula.factory("python").installed? && ARGV.include?("--without-python") && ARGV.include?("--with-python3")) + !(!Formula["python"].installed? && ARGV.include?("--without-python") && ARGV.include?("--with-python3")) end def message @@ -84,7 +84,7 @@ class Qscintilla2 < Formula assert("QsciLexer" in dir(PyQt4.Qsci)) EOS pythons.each do |python, version| - unless Formula.factory(python).installed? + unless Formula[python].installed? ENV["PYTHONPATH"] = HOMEBREW_PREFIX/"lib/python#{version}/site-packages" end system python, "test.py" |
