netaddr<=0.7.10 raises ValueError instead of AddrFormatError
This patch is based on Aarons work for the Bug#1308675.
It 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: I71cfe82e57290552fb22637ad929747a6fa22460
Closes-bug: #1308675
(cherry picked from commit 7305ace9f37719f47d55743c0dece7089c063b12)
Reviewed: https:/ /review. openstack. org/101769 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2a79749c8b0 9938b5ec2d94c11 bac7a013c03843
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 2a79749c8b09938 b5ec2d94c11bac7 a013c03843
Author: sridhargaddam <email address hidden>
Date: Fri Apr 18 21:01:48 2014 +0530
netaddr<=0.7.10 raises ValueError instead of AddrFormatError
This patch is based on Aarons work for the Bug#1308675.
It 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: I71cfe82e572905 52fb22637ad9297 47a6fa22460 47d55743c0dece7 089c063b12)
Closes-bug: #1308675
(cherry picked from commit 7305ace9f37719f