e36cafb253b56c7165d73091b874b78111a2ecf2
When __repr__ returns an unicode object, python will
try to encode it with the default encoding scheme
which is ascii in general. So __repr__ needs to make
sure its return value is properly encoded.
Change-Id: Ifdb8c073474a917207a48fc5af5a340e87f66fc4
Closes-Bug: #1514325
(cherry picked from commit f5e792a983)
oslo.versionedobjects
The oslo.versionedobjects library provides a generic versioned object model that is RPC-friendly, with inbuilt serialization, field typing, and remotable method calls. It can be used to define a data model within a project independent of external APIs or database schema for the purposes of providing upgrade compatibility across distributed services.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.versionedobjects
- Source: http://git.openstack.org/cgit/openstack/oslo.versionedobjects
- Bugs: http://bugs.launchpad.net/oslo.versionedobjects
Description
Languages
Python
100%