diff options
| author | Barry Warsaw | 2015-12-17 17:41:49 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2015-12-17 17:41:49 -0500 |
| commit | 21062456bb4707398157b8ce5b6f741e1ef6ebbc (patch) | |
| tree | f62fde15c92589aef8aeaf60ff68c449df2a0fe6 /src/mailman/commands/cli_control.py | |
| parent | e5422f5316335e8cae5dae3965417bb317e057e3 (diff) | |
| download | mailman-21062456bb4707398157b8ce5b6f741e1ef6ebbc.tar.gz mailman-21062456bb4707398157b8ce5b6f741e1ef6ebbc.tar.zst mailman-21062456bb4707398157b8ce5b6f741e1ef6ebbc.zip | |
Many improvements to listconf.py.
Closes #182
* Improve the documentation, especially in describing how to PUT and
PATCH to list configuration subresources.
* Improve the return codes for many error corner cases. Specifically,
this makes more consistent when a 400 error is returned or a 404 error
is returned.
* Improve the handling of some weird corner cases, and add tests.
* Fix the setting of error response reasons by not trying to .format()
into a bytes object (which isn't allowed in Python 3).
* Add lots of comments to the code, which improves the readability of
all the twisty little turns.
* 100% code coverage for listconf.py!
Diffstat (limited to 'src/mailman/commands/cli_control.py')
0 files changed, 0 insertions, 0 deletions
