aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-11-14 08:22:59 -0800
committerCharlie Sharpsteen2011-11-14 08:22:59 -0800
commite59cc08809239e6e752c26113321b63822525c8e (patch)
treedbe3a4c348967ace9f0ac3bff617b554d6916e06 /Library/Formula/python.rb
parent4afc05483c3d250dd6d14a3fa3347a74a11fe1db (diff)
downloadhomebrew-e59cc08809239e6e752c26113321b63822525c8e.tar.bz2
Hotfix for filtered_args breaking brew upgrade
The `filtered_args` method added to the `FormulaInstaller` makes a call `ARGV.formulae`. Unfortunately, `ARGV.formulae` will throw a `FormulaUnspecifiedError` instead of returning an empty list. This patch avoids the issue by checking `ARGV.named.empty?` before calling `ARGV.formulae`. Fixes #8576.
Diffstat (limited to 'Library/Formula/python.rb')
0 files changed, 0 insertions, 0 deletions