Fix the error code for a corner case.
commite916272dbbafa8a218993d9b74172b2488fb342e
authorBarry Warsaw <barry@python.org>
Thu, 17 Dec 2015 23:55:04 +0000 (17 18:55 -0500)
committerBarry Warsaw <barry@python.org>
Thu, 17 Dec 2015 23:55:04 +0000 (17 18:55 -0500)
treef7a88b751ff3477d21139f6c2ac80b46f79b09b6
parentbb1d8bfb9673bd12484380502fff124fdd5d786d
Fix the error code for a corner case.

I.e. when the URL is good, but the request dictionary contains a bogus
attribute, you should get a 400 error, not a 404.

Also, fix some comments.
src/mailman/rest/listconf.py
src/mailman/rest/tests/test_listconf.py