Keystone exceptions could only take byte string message as the
message arguments to construct exception instances because of
the way its super class StandardError implements __unicode__.
This patch can also make sure it would not unintentionally remove
line breaks and indentation in a explicitly given message argument.
Reviewed: https:/ /review. openstack. org/26923 github. com/openstack/ keystone/ commit/ d1da173017216a4 506d93203a3c1c2 fb6bba96b8
Committed: http://
Submitter: Jenkins
Branch: master
commit d1da173017216a4 506d93203a3c1c2 fb6bba96b8
Author: Liang Chen <email address hidden>
Date: Sun Apr 14 22:44:12 2013 +0800
Enable unicode error message
Keystone exceptions could only take byte string message as the
message arguments to construct exception instances because of
the way its super class StandardError implements __unicode__.
This patch can also make sure it would not unintentionally remove
line breaks and indentation in a explicitly given message argument.
Fixs bug #1168879
Change-Id: I7916efc87845cf c4dba705e947412 5b275affc13