aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2019-01-28 21:48:13 -0800
committerMark Sapiro <mark@msapiro.net>2019-01-28 21:48:13 -0800
commitdd5dc51fc773b56c6f4b33ab739d2b148ec45337 (patch)
tree325dddc0d3c1efffdd81d825ed6dcfe6265ae8a9 /Mailman/Utils.py
parent189515c4d3f1ed52b83d63577ebefec5c991b281 (diff)
downloadmailman2-dd5dc51fc773b56c6f4b33ab739d2b148ec45337.tar.gz
mailman2-dd5dc51fc773b56c6f4b33ab739d2b148ec45337.tar.xz
mailman2-dd5dc51fc773b56c6f4b33ab739d2b148ec45337.zip
Expand tabs in Python code.
Diffstat (limited to '')
-rw-r--r--Mailman/Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index 605d0976..47e4e5cc 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -1529,7 +1529,7 @@ def banned_ip(ip):
ptr = ipaddress.ip_address(uip).reverse_pointer
except ValueError:
return False
- lookup = '{0}.zen.spamhaus.org'.format('.'.join(ptr.split('.')[:-2]))
+ lookup = '{0}.zen.spamhaus.org'.format('.'.join(ptr.split('.')[:-2]))
else:
parts = ip.split('.')
if len(parts) != 4: