aboutsummaryrefslogtreecommitdiff
path: root/myrpki.rototill/cherrypy-example.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-01-22 21:55:09 +0000
committerRob Austein <sra@hactrn.net>2010-01-22 21:55:09 +0000
commit6c7445cce4c8a05c3e762fd1d537c54d6ea1fc8c (patch)
tree42c28e2d42fe56e7b069230949246dd29f06944c /myrpki.rototill/cherrypy-example.py
parent502df88d20c6e0abd56235d4e16de14cca70dd1a (diff)
Branch myrpki code before starting rototill based on feedback from
Tokyo workshop. svn path=/myrpki.rototill; revision=2958
Diffstat (limited to 'myrpki.rototill/cherrypy-example.py')
-rw-r--r--myrpki.rototill/cherrypy-example.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/myrpki.rototill/cherrypy-example.py b/myrpki.rototill/cherrypy-example.py
new file mode 100644
index 00000000..c5c97fef
--- /dev/null
+++ b/myrpki.rototill/cherrypy-example.py
@@ -0,0 +1,12 @@
+# $Id$
+
+import cherrypy
+
+class HelloWorld(object):
+
+ @cherrypy.expose
+ def index(self):
+ return "Hello world!"
+
+if __name__ == "__main__":
+ cherrypy.quickstart(HelloWorld())