=== modified file 'src/mailman/rest/lists.py' --- src/mailman/rest/lists.py 2011-08-23 17:38:02 +0000 +++ src/mailman/rest/lists.py 2011-08-30 15:50:23 +0000 @@ -156,11 +156,15 @@ @resource.child(roster_matcher) def roster(self, request, segments, role): """Return the collection of all a mailing list's members.""" + if self._mlist is None: + return http.not_found() return MembersOfList(self._mlist, role) @resource.child(config_matcher) def config(self, request, segments, attribute=None): """Return a mailing list configuration object.""" + if self._mlist is None: + return http.not_found() return ListConfiguration(self._mlist, attribute) @resource.child()