From b657c4a4d3bc21bf97530bd10d217844455bf977 Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Fri, 30 Sep 2022 21:00:16 +0200 Subject: [PATCH] Fix linting warning --- digaws/__init__.py | 2 +- digaws/digaws.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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