aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 21:00:58 -0800
committerAdam Vandenberg2014-02-27 08:21:20 -0800
commit112bc341541d0e3634f0b92234a88e6921229004 (patch)
tree50476b92600595b775de0ea7615bd80c602c5a41 /Library/Formula
parent1dc3479a67d6fe9f795577e08d993a3ef2f6f0eb (diff)
downloadhomebrew-112bc341541d0e3634f0b92234a88e6921229004.tar.bz2
macvim: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/macvim.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index 705853894..eefaf1bf6 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -107,7 +107,7 @@ class Macvim < Formula
%Q[-DDYNAMIC_PYTHON3_DLL=\'\"#{py3_prefix}/Python\"\']
end
- unless Formula.factory("python").installed?
+ unless Formula["python"].installed?
inreplace "src/auto/config.h", "/* #undef PY_NO_RTLD_GLOBAL */",
"#define PY_NO_RTLD_GLOBAL 1"
inreplace "src/auto/config.h", "/* #undef PY3_NO_RTLD_GLOBAL */",