summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Berry <paul@puppetlabs.com>2011-02-21 14:12:17 -0800
committerPaul Berry <paul@puppetlabs.com>2011-02-21 14:12:17 -0800
commita02b839c017fa4ceeebbfc8c11144199e3cfa0d1 (patch)
tree4466c43493bfaebe51c0cbafa450fefc6e3004bd
parentcb4011561f1bf096daa56b9ce48e6d91b70e0188 (diff)
parentb4813213afbe085b63317fbc2d1e37f799d21dd4 (diff)
downloadpuppet-a02b839c017fa4ceeebbfc8c11144199e3cfa0d1.tar.gz
puppet-a02b839c017fa4ceeebbfc8c11144199e3cfa0d1.tar.xz
puppet-a02b839c017fa4ceeebbfc8c11144199e3cfa0d1.zip
Merge branch 'ticket/2.6.x/6337' into 2.6.x
* ticket/2.6.x/6337: (#6337) Fix Ruby warning on 1.8.6 about "future compatibility"
-rwxr-xr-xlib/puppet/network/rights.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/rights.rb b/lib/puppet/network/rights.rb
index 00ee04f8d..b1daef67c 100755
--- a/lib/puppet/network/rights.rb
+++ b/lib/puppet/network/rights.rb
@@ -88,7 +88,7 @@ class Rights
else
# there were no rights allowing/denying name
# if name is not a path, let's throw
- raise ArgumentError.new "Unknown namespace right '#{name}'"
+ raise ArgumentError, "Unknown namespace right '#{name}'"
end
error
end