The previous behavior printed them in a pseudorandom order, which made them look odd in man pages.
Signed-off-by: Justin Pettit <jpet...@ovn.org> --- python/ovs/db/types.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ovs/db/types.py b/python/ovs/db/types.py index 78d5fcd..50eb505 100644 --- a/python/ovs/db/types.py +++ b/python/ovs/db/types.py @@ -296,6 +296,7 @@ class BaseType(object): if self.enum: literals = [value.toEnglish(escapeLiteral) for value in self.enum.values] + literals.sort() if len(literals) == 1: english = 'must be %s' % (literals[0]) elif len(literals) == 2: -- 1.9.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev