On Wed, 2014-01-08 at 11:01 +0100, Zdenek Pavlas wrote:
> This looks like a giant hack, but IMO it's the best option we have.
> Encoding all command and option descriptions to utf8 is much worse.

 Did you try undoing the _wrapOptParseUsage() stuff to see if that
helped?

 Is it worth just re-implementing self.optparser.format_usage() within
yum/cli?

 I'm also very tempted to do the hack we did in RHEL-5 and RHEL-6 which
turned off all the translations for RHEL. Not that it solves the
problems, but people won't see the problems in RHEL then.

 If you still think this is the best way, ACK ... although it's probably
worth adding a hasattr() for '_' in optparser, just to be super
cautious.

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to