Re: [Ryu-devel] [PATCH] flags: Inject __class__ attribute to LooseVersion

2017-11-01 Thread FUJITA Tomonori
On Thu, 2 Nov 2017 11:26:29 +0900 IWASE Yusuke wrote: > Currently, ryu-manager uses distutils.version.LooseVersion for > "--zapi-frr-version" to parse the given version sting. > With custom type class for oslo_config.cfg.Opt, oslo_config might access > __class__ attribute for equal comparison. >

[Ryu-devel] [PATCH] flags: Inject __class__ attribute to LooseVersion

2017-11-01 Thread IWASE Yusuke
Currently, ryu-manager uses distutils.version.LooseVersion for "--zapi-frr-version" to parse the given version sting. With custom type class for oslo_config.cfg.Opt, oslo_config might access __class__ attribute for equal comparison. But in case on Python 2, LooseVersion does not have __class__ attr