diff options
Diffstat (limited to 'ipaddress.py')
-rw-r--r-- | ipaddress.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ipaddress.py b/ipaddress.py index f2d0766..3e6f9e4 100644 --- a/ipaddress.py +++ b/ipaddress.py @@ -14,7 +14,7 @@ from __future__ import unicode_literals import itertools import struct -__version__ = '1.0.22' +__version__ = '1.0.23' # Compatibility functions _compat_int_types = (int,) @@ -1103,7 +1103,8 @@ class _BaseNetwork(_IPAddressBase): try: # Always false if one is v4 and the other is v6. if a._version != b._version: - raise TypeError("%s and %s are not of the same version" (a, b)) + raise TypeError( + "%s and %s are not of the same version" % (a, b)) return (b.network_address <= a.network_address and b.broadcast_address >= a.broadcast_address) except AttributeError: |