changeset 782:c4c66a5a2221

Added xmlrpc method to return the MoinMoin version.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sat, 03 Jun 2006 20:06:19 +0200
parents e46109ce944e
children d5c59be8b62c
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Sat Jun 03 19:56:31 2006 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Sat Jun 03 20:06:19 2006 +0200
@@ -491,6 +491,9 @@
                  self._outstr(results.formatContext(hit, 180, 1)))
                 for hit in results.hits]
 
+    def xmlrpc_getMoinVersion(self):
+        from MoinMoin import version
+        return (version.project, version.release, version.revision)
 
 class XmlRpc1(XmlRpcBase):