netaddr<=0.7.10 raises ValueError instead of AddrFormatError
This patch ensures that ValueError is also caught in addition to
AddrFormatError as in netaddr>=0.7.11 AddrFormatError is raised and
in netaddr<=0.7.10 ValueError is raised.
Change-Id: I595c90e42129a2d365f3860e3042e826bd031365
Closes-bug: #1308675
(cherry picked from commit dd2ccd12adfb6c7d4aa500ba4120f767beeed35c)
Reviewed: https:/ /review. openstack. org/88675 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=42a8539d497 322716df0150c21 23befd246d69d8
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 42a8539d4973227 16df0150c2123be fd246d69d8
Author: Aaron Rosen <email address hidden>
Date: Wed Apr 16 11:31:25 2014 -0700
netaddr<=0.7.10 raises ValueError instead of AddrFormatError
This patch ensures that ValueError is also caught in addition to
AddrFormatError as in netaddr>=0.7.11 AddrFormatError is raised and
in netaddr<=0.7.10 ValueError is raised.
Change-Id: I595c90e42129a2 d365f3860e3042e 826bd031365 d4aa500ba4120f7 67beeed35c)
Closes-bug: #1308675
(cherry picked from commit dd2ccd12adfb6c7