aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2019-10-18 02:44:42 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2019-10-18 02:44:42 +0200
commit0a2411340c9ddf193477ee9b26aebf4c6d13f65b (patch)
tree5137284ddb46c537361de09e3f726b6b65829a3a
parent3240fdf99e3e62874e862987cd7f8cc1885e613a (diff)
downloadipaddress-0a2411340c9ddf193477ee9b26aebf4c6d13f65b.tar.gz
lint: Make sure all lines are <= 80 chars long
-rw-r--r--ipaddress.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaddress.py b/ipaddress.py
index 16f03bf..8e09243 100644
--- a/ipaddress.py
+++ b/ipaddress.py
@@ -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: