diff options
author | Mark Sapiro <mark@msapiro.net> | 2019-01-28 21:48:13 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2019-01-28 21:48:13 -0800 |
commit | dd5dc51fc773b56c6f4b33ab739d2b148ec45337 (patch) | |
tree | 325dddc0d3c1efffdd81d825ed6dcfe6265ae8a9 /Mailman/Utils.py | |
parent | 189515c4d3f1ed52b83d63577ebefec5c991b281 (diff) | |
download | mailman2-dd5dc51fc773b56c6f4b33ab739d2b148ec45337.tar.gz mailman2-dd5dc51fc773b56c6f4b33ab739d2b148ec45337.tar.xz mailman2-dd5dc51fc773b56c6f4b33ab739d2b148ec45337.zip |
Expand tabs in Python code.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Utils.py | 2 |
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: |