diff --git a/Library/Homebrew/utils/pypi.rb b/Library/Homebrew/utils/pypi.rb index 1213de08e1..7199dcce0f 100644 --- a/Library/Homebrew/utils/pypi.rb +++ b/Library/Homebrew/utils/pypi.rb @@ -333,9 +333,7 @@ module PyPI EOS end - if exclude_packages.any? - odie "Excluded superfluous packages: #{", ".join(exclude_packages)}" - end + odie "Excluded superfluous packages: #{", ".join(exclude_packages)}" if exclude_packages.any? if print_only puts new_resource_blocks.chomp