puppetlabs/puppet — pull request #476 by joshcooper (2012-02-08 19:09:53+00:00)
Title: Maint: Fix parenthesize warning message

When DNS SRV support was added (in master), it resulted in a warning message to parenthesize arguments when run on ruby 1.8.5. The warning message is written to stderr, which was causing the acceptance/tests/module/list.rb acceptance test to fail.

This commit just parenthesizes the yielded argument.