------------------------------------------------------------
revno: 6689
committer: Barry Warsaw <[email protected]>
branch nick: cleanup
timestamp: Thu 2009-02-12 22:55:01 -0500
message:
  Remove one more unused function.
modified:
  src/mailman/Utils.py

=== modified file 'src/mailman/Utils.py'
--- src/mailman/Utils.py        2009-02-13 03:52:18 +0000
+++ src/mailman/Utils.py        2009-02-13 03:55:01 +0000
@@ -147,27 +147,6 @@
 
 
 
-def GetPossibleMatchingAddrs(name):
-    """returns a sorted list of addresses that could possibly match
-    a given name.
-
-    For Example, given [email protected], return ['[email protected]'],
-    given [email protected] return ['[email protected]',
-                                           '[email protected]']"""
-
-    name = name.lower()
-    from mailman.email.utils import split_email
-    user, domain = split_email(name)
-    res = [name]
-    if domain:
-        domain = domain[1:]
-        while len(domain) >= 2:
-            res.append("%...@%s" % (user, DOT.join(domain)))
-            domain = domain[1:]
-    return res
-
-
-
 _vowels = ('a', 'e', 'i', 'o', 'u')
 _consonants = ('b', 'c', 'd', 'f', 'g', 'h', 'k', 'm', 'n',
                'p', 'r', 's', 't', 'v', 'w', 'x', 'z')



--
Primary development focus
https://code.launchpad.net/~mailman-coders/mailman/3.0

Your team Mailman Checkins is subscribed to branch lp:mailman.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/3.0/+edit-subscription.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to