summaryrefslogtreecommitdiff
path: root/src/mailman/core/api.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the core directory.Barry Warsaw2016-03-241-6/+3
| | | | | | | mailman/core/errors.py is gone now. We had a duplicate base exception which now always comes from mailman/interfaces/errors.py. Obsolete/unused exceptions are remove. The other exceptions are moved to better locations.
* Just a little more UUID conversion convenience.Barry Warsaw2016-01-131-4/+8
|
* Refactor API differences into a separate class.Barry Warsaw2016-01-131-0/+82
We now have an IAPI interface which defines methods to convert to/from UUIDs to their REST representations, and to calculate the API-homed full URL path to a resource. Add implementations API30 and API31 to handle the two different implementations so far. This also simplifies the various path_to() calls. Also: Add support for diff_cover to tox.ini to check that all differences against the master branch have full test coverage.