diff options
| author | Charlie Sharpsteen | 2011-11-14 08:22:59 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-11-14 08:22:59 -0800 |
| commit | e59cc08809239e6e752c26113321b63822525c8e (patch) | |
| tree | dbe3a4c348967ace9f0ac3bff617b554d6916e06 /Library/Formula/python.rb | |
| parent | 4afc05483c3d250dd6d14a3fa3347a74a11fe1db (diff) | |
| download | homebrew-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
