On Thu, 2 Nov 2017 11:26:29 +0900 IWASE Yusuke <iwase.yusu...@gmail.com> 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. > But in case on Python 2, LooseVersion does not have __class__ attribute > and it causes AttributeError. (This error is not always reproduced) > > This patch injects required attribute into LooseVersion and avoids this > problem. > > Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com> > --- > ryu/flags.py | 7 +++++++ > 1 file changed, 7 insertions(+) Applied, thanks. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel