Update of /cvsroot/mailman/mailman3/src/mailman/interfaces
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18822

Modified Files:
        storages.py 
Log Message:
IUserStorage.find_address(): Added a minimal query interface.


Index: storages.py
===================================================================
RCS file: /cvsroot/mailman/mailman3/src/mailman/interfaces/storages.py,v
retrieving revision 3.1
retrieving revision 3.2
diff -u -d -r3.1 -r3.2
--- storages.py 5 Apr 2004 13:13:45 -0000       3.1
+++ storages.py 7 Apr 2004 03:15:25 -0000       3.2
@@ -96,6 +96,13 @@
         Raises NoUserError if no user can be found.
         """
 
+    def find_address(address, domain):
+        """Return the IAddress record for address in the given domain.
+
+        address is an email address.  Returns None if the address cannot be
+        found.
+        """
+
     def create_user(domain):
         """Create a new user, returning the new IUser.
 


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to