Unverified Commit e3f2ccf3 authored by Robin H. Johnson's avatar Robin H. Johnson
Browse files

PortageVersion: show bad version string in exception


Signed-off-by: default avatarRobin H. Johnson <robbat2@gentoo.org>
parent a256044b
...@@ -7,7 +7,7 @@ class Puppet::Property::PortageVersion < Puppet::Property ...@@ -7,7 +7,7 @@ class Puppet::Property::PortageVersion < Puppet::Property
validate do |value| validate do |value|
unless Puppet::Util::Portage.valid_version? value unless Puppet::Util::Portage.valid_version? value
raise ArgumentError, "#{name} must be a properly formatted version" raise ArgumentError, "'#{value}' must be a properly formatted version"
end end
end end
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment