From 853060fa5fd453b745b09d991b8053c2024cb079 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 29 Jun 2009 21:30:04 -0400 Subject: More REST server updates. * Get rid of in-Python adapter registration in favor of ZCML. Eventually, I'd like to get rid of the ZCML. * Set the view_permission to None, but it's still not right. * Add IDomainSet and an adapter from Configuration to IDomainSet. --- src/mailman/rest/root.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/mailman/rest/root.py') diff --git a/src/mailman/rest/root.py b/src/mailman/rest/root.py index 620739287..a6dc26248 100644 --- a/src/mailman/rest/root.py +++ b/src/mailman/rest/root.py @@ -41,13 +41,6 @@ from mailman.core.system import system class AdminWebServiceRootResource(ServiceRootResource): """The root of the Mailman RESTful admin web service.""" - def get(self, name): - """See `IHasGet`.""" - top_level = { - 'sys': system, - } - return top_level.get(name) - class AdminWebServiceRootAbsoluteURL: """A basic implementation of `IAbsoluteURL` for the root object.""" -- cgit v1.2.3-70-g09d2