+1

On Tue, Dec 29, 2009 at 11:32 AM, Markus Roberts <[email protected]> wrote:

> We don't actually rely on iconv's UTF-8 support, so its absence
> shouldn't cause the PSON feature to fail on system (e.g. HPUX)
> where it isn't fully implemented.
>
> Signed-off-by: Markus Roberts <[email protected]>
> ---
>  lib/puppet/external/pson/pure.rb |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lib/puppet/external/pson/pure.rb
> b/lib/puppet/external/pson/pure.rb
> index 7bb18aa..53d1ea2 100644
> --- a/lib/puppet/external/pson/pure.rb
> +++ b/lib/puppet/external/pson/pure.rb
> @@ -50,7 +50,7 @@ module PSON
>         UTF16toUTF8 = swapper.new(UTF16toUTF8) # :nodoc:
>       end
>     rescue Errno::EINVAL, Iconv::InvalidEncoding
> -      raise MissingUnicodeSupport, "iconv doesn't seem to support
> UTF-8/UTF-16 conversions"
> +      Puppet.warning "iconv doesn't seem to support UTF-8/UTF-16
> conversions"
>     ensure
>       $VERBOSE = old_verbose
>     end
> --
> 1.6.4
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<puppet-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-dev?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.


Reply via email to