diff --git a/digaws/__init__.py b/digaws/__init__.py index 74fc766..eb90eaa 100644 --- a/digaws/__init__.py +++ b/digaws/__init__.py @@ -1,2 +1,2 @@ -__version__ = '1.0.4' +__version__ = '1.0.5' __description__ = 'Look up canonical information for AWS IP addresses and networks' diff --git a/digaws/digaws.py b/digaws/digaws.py index 6d0e511..e491892 100755 --- a/digaws/digaws.py +++ b/digaws/digaws.py @@ -181,7 +181,7 @@ class DigAWS(): data = [prefix for prefix in self.ipv6_prefixes if addr.subnet_of(prefix['ipv6_prefix'])] except (ipaddress.AddressValueError, ValueError): - raise(ValueError(f'Wrong IP or CIDR format: {address}')) + raise ValueError(f'Wrong IP or CIDR format: {address}') return data