HomePhorge

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

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
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU6d5f1aa75c8c: Merge branch 'ticket/2.6.next/6338' into 2.6.next
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@rimspace.net> committed rPUa7cebf80abc9: (#6337) Fix Ruby warning on 1.8.6 about "future compatibility" (authored by Daniel Pittman <daniel@rimspace.net>).Feb 18 2011, 3:18 AM