diff options
| author | Barry Warsaw | 2009-09-19 16:51:15 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2009-09-19 16:51:15 -0400 |
| commit | a5456442682ff20c4b0d3a9d166d5fa9bf06a7de (patch) | |
| tree | 7ad2aec53b1acc53d879e063ef7339c2302284c7 /src/mailman/docs | |
| parent | ca84b1a8852a86464184586441c3d0fd66c879b1 (diff) | |
| download | mailman-a5456442682ff20c4b0d3a9d166d5fa9bf06a7de.tar.gz mailman-a5456442682ff20c4b0d3a9d166d5fa9bf06a7de.tar.zst mailman-a5456442682ff20c4b0d3a9d166d5fa9bf06a7de.zip | |
Convert bin/inject to bin/mailman inject
Expose the database store on .store instead of ._store
A few other cleanups.
Diffstat (limited to 'src/mailman/docs')
| -rw-r--r-- | src/mailman/docs/listmanager.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mailman/docs/listmanager.txt b/src/mailman/docs/listmanager.txt index 63530ccda..e8af0d71d 100644 --- a/src/mailman/docs/listmanager.txt +++ b/src/mailman/docs/listmanager.txt @@ -36,11 +36,19 @@ list to the system. If you try to create a mailing list with the same name as an existing list, you will get an exception. - >>> mlist_dup = list_manager.create('_xtest@example.com') + >>> list_manager.create('_xtest@example.com') Traceback (most recent call last): ... ListAlreadyExistsError: _xtest@example.com +It is an error to create a mailing list that isn't a fully qualified list name +(i.e. posting address). + + >>> list_manager.create('foo') + Traceback (most recent call last): + ... + InvalidEmailAddress: foo + Deleting a mailing list ======================= @@ -73,6 +81,11 @@ If you try to get a list that doesn't existing yet, you get None. >>> print list_manager.get('_xtest_2@example.com') None +You also get None if the list name is invalid. + + >>> print list_manager.get('foo') + None + Iterating over all mailing lists ================================ |
