Merge "Use oslo_utils for tupleizing versions"
This commit is contained in:
commit
1249da8675
@ -112,7 +112,7 @@ class VersionedObjectRegistry(object):
|
||||
|
||||
def _register_class(self, cls):
|
||||
def _vers_tuple(obj):
|
||||
return tuple([int(x) for x in obj.VERSION.split(".")])
|
||||
return vutils.convert_version_to_tuple(obj.VERSION)
|
||||
|
||||
_make_class_properties(cls)
|
||||
obj_name = cls.obj_name()
|
||||
|
Loading…
x
Reference in New Issue
Block a user