aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/requirements.rb
diff options
context:
space:
mode:
authorMike McQuaid2018-03-03 18:17:04 +0000
committerGitHub2018-03-03 18:17:04 +0000
commitbc3389bdae5be31e5447802cb0eb8e1a967f5b4d (patch)
tree2d61e66163e0fbf4650f38bb104374a32f53914c /Library/Homebrew/compat/requirements.rb
parent5e3003688f801a49a46c1b24cb5e27d5c276af30 (diff)
parent70253f0009ee8095a5d10ee7bdd891f1fe5cc35c (diff)
downloadbrew-master.tar.bz2
Merge pull request #3863 from MikeMcQuaid/python3-changesHEADmaster
Adjust docs and more internal code for Python 3.
Diffstat (limited to 'Library/Homebrew/compat/requirements.rb')
-rw-r--r--Library/Homebrew/compat/requirements.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/compat/requirements.rb b/Library/Homebrew/compat/requirements.rb
index 38344c1fc..3dd5c7479 100644
--- a/Library/Homebrew/compat/requirements.rb
+++ b/Library/Homebrew/compat/requirements.rb
@@ -84,16 +84,16 @@ end
class PythonRequirement < Requirement
fatal true
satisfy do
- odeprecated("PythonRequirement", "'depends_on \"python\"'")
- which "python"
+ odeprecated("PythonRequirement", "'depends_on \"python@2\"'")
+ which "python2"
end
end
class Python3Requirement < Requirement
fatal true
satisfy do
- odeprecated("Python3Requirement", "'depends_on \"python3\"'")
- which "python3"
+ odeprecated("Python3Requirement", "'depends_on \"python\"'")
+ which "python"
end
end