diff options
| author | Barry Warsaw | 2010-02-23 14:31:41 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2010-02-23 14:31:41 -0500 |
| commit | 0fa9260a3d23b7ba17de727e66bcc27a0aeacc29 (patch) | |
| tree | bc45a5ba133e22eac478196436f9e5360c74ebfe /src/mailman/interfaces/system.py | |
| parent | 6ebd29504f204913a1c57f64d802151fc97bfb41 (diff) | |
| download | mailman-0fa9260a3d23b7ba17de727e66bcc27a0aeacc29.tar.gz mailman-0fa9260a3d23b7ba17de727e66bcc27a0aeacc29.tar.zst mailman-0fa9260a3d23b7ba17de727e66bcc27a0aeacc29.zip | |
Diffstat (limited to 'src/mailman/interfaces/system.py')
| -rw-r--r-- | src/mailman/interfaces/system.py | 16 |
1 files changed, 3 insertions, 13 deletions
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.') |
