summarylogtreecommitdiffstats
path: root/0004-fix-ipaddress-syntaxwarning.patch
blob: 0d1fee3e8fb258f374fabc05855fad51ad7ba4cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN --color a/lib/third_party/ipaddress/__init__.py b/lib/third_party/ipaddress/__init__.py
--- a/lib/third_party/ipaddress/__init__.py	2020-02-03 07:22:51.006100908 -0800
+++ b/lib/third_party/ipaddress/__init__.py	2020-02-03 07:23:33.229413663 -0800
@@ -1103,7 +1103,7 @@
         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: