]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
netaddr<=0.7.10 raises ValueError instead of AddrFormatError
authorAaron Rosen <aaronorosen@gmail.com>
Wed, 16 Apr 2014 18:31:25 +0000 (11:31 -0700)
committerGerrit Code Review <review@openstack.org>
Fri, 18 Apr 2014 04:07:07 +0000 (04:07 +0000)
commitdd2ccd12adfb6c7d4aa500ba4120f767beeed35c
tree78bd60259404399a412f28213db9800ef8930ace
parentc049583e80d9b2234557a11b77d843549f1efa65
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
neutron/extensions/securitygroup.py