diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2019-10-18 02:35:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 02:35:51 +0200 |
commit | e05f6e019208dbf770821ef75d5cca88fde229d9 (patch) | |
tree | c28d78422fec89105c0c08dea6a2998e41701514 | |
parent | 3d788e06508b4d173b1c3c873ca44d6fbec74a40 (diff) | |
parent | 7a44852e647cc05ca801311abd788f2d85d1f738 (diff) | |
download | ipaddress-e05f6e019208dbf770821ef75d5cca88fde229d9.tar.gz |
Merge pull request #48 from hroncok/patch-1
Add missing % in string formatting
-rw-r--r-- | ipaddress.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaddress.py b/ipaddress.py index f2d0766..16f03bf 100644 --- a/ipaddress.py +++ b/ipaddress.py @@ -1103,7 +1103,7 @@ 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: |