Remove needless workaround in utils module

Workaround for bug in netaddr library has been removed due to the fix
was introduced in 0.7.6 and nova currently requires 0.7.12 or newer version.

Change-Id: If83cd8ee770d57547f4cfcdbba4a9fbfd55d5983
Related-Bug: #957708
This commit is contained in:
Krisztian Gacsal 2014-12-05 16:51:39 +01:00
parent 16d38947ae
commit 373c581433
1 changed files with 0 additions and 4 deletions

View File

@ -540,10 +540,6 @@ def is_valid_cidr(address):
netaddr.IPNetwork(address)
except netaddr.core.AddrFormatError:
return False
except UnboundLocalError:
# NOTE(MotoKen): work around bug in netaddr 0.7.5 (see detail in
# https://github.com/drkjam/netaddr/issues/2)
return False
# Prior validation partially verify /xx part
# Verify it here