aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorJack Nagel2012-08-14 11:37:29 -0500
committerJack Nagel2012-08-18 11:25:59 -0500
commitce604c642d830f96fe7aced5452650cf9867cb9d (patch)
tree5cced874e149b7bc6c2c6223365e1f407dd95c33 /Library/Formula/python3.rb
parent5b31fa358cff282ef41fbb92ca35354c0f080db1 (diff)
downloadhomebrew-ce604c642d830f96fe7aced5452650cf9867cb9d.tar.bz2
Deprecate MacOS.version? style methods
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index abfce4ca9..1bb9e2c13 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -168,7 +168,7 @@ class Python3 < Formula
See: https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python
EOS
- text += tk_caveats unless MacOS.lion_or_newer?
+ text += tk_caveats unless MacOS.version >= :lion
text += general_caveats
return text
end