diff MoinMoin/xmlrpc/HelloWorld.py @ 0:77665d8e2254

tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0 (automatically generated log message) imported from: moin--main--1.5--base-0
author Thomas Waldmann <tw-public@gmx.de>
date Thu, 22 Sep 2005 15:09:50 +0000
parents
children bb2e053067fb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/xmlrpc/HelloWorld.py	Thu Sep 22 15:09:50 2005 +0000
@@ -0,0 +1,12 @@
+# -*- coding: iso-8859-1 -*-
+"""
+    MoinMoin - This is just a sample for a xmlrpc plugin
+
+    @copyright: 2005 by Thomas Waldmann (MoinMoin:ThomasWaldmann)
+    @license: GNU GPL, see COPYING for details.
+"""
+
+def execute(xmlrpcobj, *args):
+    str = args[0]
+    return xmlrpcobj._outstr("Hello World!\n" + str)
+