a912b8f661
![Ryan Rossiter](/assets/img/avatar_default.png)
The VersionedObjectRegistry had a helper method in it, _vers_tuple(), that converted an object's string version to a tuple. oslo_utils.version_utils does that for us, so this changes over _vers_tuple() to return version_utils's result. The inline function was left to save on horizontal space (2 calls of convert_version_to_tuple() in an inequality starts looking ugly really quick). Change-Id: I69777ed2c0486996c63ef592325a5757c0b4b0b3
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%