summaryrefslogtreecommitdiff
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
authorcotton1998-11-21 20:06:47 +0000
committercotton1998-11-21 20:06:47 +0000
commitc39c4f7270a57bcaddbd1b22d8dac2863f0d0af2 (patch)
treeafdf47f6c9c0db900eaa8f3207dfd4a0aeea18a5 /Mailman/Utils.py
parentc56a6d08e21e818f45343328d86dcf66188acd12 (diff)
downloadmailman-c39c4f7270a57bcaddbd1b22d8dac2863f0d0af2.tar.gz
mailman-c39c4f7270a57bcaddbd1b22d8dac2863f0d0af2.tar.zst
mailman-c39c4f7270a57bcaddbd1b22d8dac2863f0d0af2.zip
Diffstat (limited to 'Mailman/Utils.py')
-rw-r--r--Mailman/Utils.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index 2e8b9d602..a322c403d 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -231,7 +231,6 @@ def ValidEmail(str):
return 1
-
def GetPathPieces(path):
l = string.split(path, '/')
try:
@@ -328,7 +327,7 @@ def GetPossibleMatchingAddrs(name):
given scott@blackbox.pobox.com return ['scott@blackbox.pobox.com',
'scott@pobox.com']"""
- name = LCDomain(name)
+ name = string.lower(name)
user, domain = ParseEmail(name)
res = [name]
if domain:
@@ -357,11 +356,11 @@ def FindMatchingAddresses(name, dict, *dicts):
dicts.insert(0, dict)
if not mm_cfg.SMART_ADDRESS_MATCH:
for d in dicts:
- if d.has_key(LCDomain(name)):
+ if d.has_key(string.lower(name)):
return [name]
return []
#
- # GetPossibleMatchingAddrs return LCDomain'd values
+ # GetPossibleMatchingAddrs return string.lower'd values
#
p_matches = GetPossibleMatchingAddrs(name)
res = []