Katello/katello — pull request #1467 by komidore64 (2013-01-25 18:53:39+00:00)
Title: 880019 - [ja_JP][headpin CLI] error: 'ascii' codec can't encode

characters in position 0-4 for user create module with invalid boolean
value to --disabled.

OptParser does not handle unicode strings in error messages.

raising OptionValueError(_("this is a unicode string")) in a locale
other than English causes optparse to barf in katello:

'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)

I removed all the internationalized strings that are given to
OptionValueError so that optparse doesn't die.