diff options
| author | ilovezfs | 2017-12-30 11:35:35 -0800 |
|---|---|---|
| committer | ilovezfs | 2017-12-30 11:35:35 -0800 |
| commit | ba76e06cff790e1eb56f7317a84cd4ee1b496759 (patch) | |
| tree | 7048076723dd757f13a3f98dbd80f72a3674fad1 /Library | |
| parent | 9e93720e8fddcf3e2184af966a9471b3f0d906be (diff) | |
| download | brew-ba76e06cff790e1eb56f7317a84cd4ee1b496759.tar.bz2 | |
formula_installer: allow version mismatched python deps
Dependency trees with both python@2 and python@3 are not inherently
problematic.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 2285fee91..d30faf562 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -182,6 +182,7 @@ class FormulaInstaller recursive_runtime_formulae.each do |f| name = f.name unversioned_name, = name.split("@") + next if unversioned_name == "python" version_hash[unversioned_name] ||= Set.new version_hash[unversioned_name] << name next if version_hash[unversioned_name].length < 2 |
