~sambuddhabasu1/mailman/fix_mailman_run_error

« back to all changes in this revision

Viewing changes to src/mailman/handlers/docs/owner-recips.rst

  • Committer: Barry Warsaw
  • Date: 2014-11-01 16:49:15 UTC
  • mfrom: (7251.1.38 abhilash)
  • Revision ID: barry@list.org-20141101164915-06wqfmya6wf47n6n
Database
--------
 * The ORM layer, previously implemented with Storm, has been replaced by
   SQLAlchemy, thanks to the fantastic work by Abhilash Raj and Aurélien
   Bompard.  Alembic is now used for all database schema migrations.
 * The new logger `mailman.database` logs any errors at the database layer.

API
---
 * Several changes to the internal API:
   - `IListManager.mailing_lists` is guaranteed to be sorted in List-ID order.
   - `IDomains.mailing_lists` is guaranteed to be sorted in List-ID order.
   - Iteration over domains via the `IDomainManager` is guaranteed to be sorted
     by `IDomain.mail_host` order.
   - `ITemporaryDatabase` interface and all implementations are removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    >>> handler.process(mlist_1, msg, msgdata)
42
42
    >>> dump_list(msgdata['recipients'])
43
43
    bart@example.com
44
 
    
 
44
 
45
45
If Bart also disables his owner delivery, then no one could contact the list's
46
46
owners.  Since this is unacceptable, the site owner is used as a fallback.
47
47
 
55
55
a fallback.
56
56
 
57
57
    >>> mlist_2 = create_list('beta@example.com')
58
 
    >>> mlist_2.administrators.member_count
 
58
    >>> print(mlist_2.administrators.member_count)
59
59
    0
60
60
    >>> msgdata = {}
61
61
    >>> handler.process(mlist_2, msg, msgdata)