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.
Reviewed: https:/ /review. openstack. org/88606 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7305ace9f37 719f47d55743c0d ece7089c063b12
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7305ace9f37719f 47d55743c0dece7 089c063b12
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
Closes-bug: #1308675