view MoinMoin/xmlrpc/HelloWorld.py @ 1986:3475126f78c6

fix some builtin names used as attribute names
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 09 Apr 2007 22:06:09 +0200
parents bb2e053067fb
children
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - This is just a sample for a xmlrpc plugin

    @copyright: 2005 MoinMoin:ThomasWaldmann
    @license: GNU GPL, see COPYING for details.
"""

def execute(xmlrpcobj, *args):
    text = args[0]
    return xmlrpcobj._outstr("Hello World!\n" + text)