HomePhorge

(#6337) Fix Ruby warning on 1.8.6 about "future compatibility"
b4813213afbeUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6337) Fix Ruby warning on 1.8.6 about "future compatibility"

Ruby 1.8.6 (but not later versions) warn about requiring parenthesis on some
function calls; having one of those in our network rights checking means that
we emit ... quite a few of these, and annoy anything that tracks our logs.

By using the more standard form of raise we can avoid the warning entirely,
and keep consistent code style across the file.

Reviewed-By: Paul Berry <paul@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@rimspace.net>Authored on
Paul Berry <paul@puppetlabs.com>Committed on Feb 21 2011, 11:08 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUcb4011561f1b: Merge branch 'ticket/2.6.x/6353' into 2.6.x
Branches
Unknown
Tags
Unknown

Event Timeline

Paul Berry <paul@puppetlabs.com> committed rPUb4813213afbe: (#6337) Fix Ruby warning on 1.8.6 about "future compatibility" (authored by Daniel Pittman <daniel@rimspace.net>).Feb 21 2011, 11:08 PM