mirror of
https://github.com/dcarrillo/digaws.git
synced 2024-11-14 22:51:13 +00:00
Fix linting warning
This commit is contained in:
parent
87618a960d
commit
b657c4a4d3
@ -1,2 +1,2 @@
|
||||
__version__ = '1.0.4'
|
||||
__version__ = '1.0.5'
|
||||
__description__ = 'Look up canonical information for AWS IP addresses and networks'
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user