Home | Trees | Indices | Help |
|
---|
|
This class wraps around a file containing emailadresses. It is intended to help with Whitelisting, Blacklisting, etc.
|
|||
|
|||
|
|||
|
|
Initialize AddressListFile: If inmemory is True, the file is loaded into memory. If regexes is True, the lines in the file are compiled as regexes. |
Return True if there is a line in the represented file that is contained in lookupstring. E.g., if you search for 'someone@gmail.com' and the file contains a line '@gmail.com', True is returned. If regexes are used, return True if there is a regex in the file that matches the lookupstring completely. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Aug 6 18:48:54 2010 | http://epydoc.sourceforge.net |