From 0fa9260a3d23b7ba17de727e66bcc27a0aeacc29 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 23 Feb 2010 14:31:41 -0500 Subject: Rip out lazr.restful and replace it with restish. This simpifies a lot of the REST architecture, at the expense of a few features, and less support. So far so good though. --- src/mailman/interfaces/system.py | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'src/mailman/interfaces/system.py') diff --git a/src/mailman/interfaces/system.py b/src/mailman/interfaces/system.py index 9f2e275fa..39156315f 100644 --- a/src/mailman/interfaces/system.py +++ b/src/mailman/interfaces/system.py @@ -25,9 +25,7 @@ __all__ = [ ] -from lazr.restful.declarations import export_as_webservice_entry, exported -from zope.interface import Interface -from zope.schema import TextLine +from zope.interface import Interface, Attribute from mailman.core.i18n import _ @@ -36,14 +34,6 @@ from mailman.core.i18n import _ class ISystem(Interface): """Information about the Mailman system.""" - export_as_webservice_entry() + mailman_version = Attribute('The GNU Mailman version.') - mailman_version = exported(TextLine( - title=_('Mailman version'), - description=_('The GNU Mailman version.'), - )) - - python_version = exported(TextLine( - title=_('Python version'), - description=_('The Python version.'), - )) + python_version = Attribute('The Python version.') -- cgit v1.2.3-70-g09d2