2006-01-15 | paulb | file changeset files shortlog | [project @ 2006-01-15 23:23:03 by paulb] Converted the example to use the deploy function. |
paulb@352 | 1 | #!/usr/bin/env python |
paulb@352 | 2 | |
paulb@352 | 3 | """ |
paulb@352 | 4 | Webware context for the VerySimple application (post Webware 0.8.1). |
paulb@352 | 5 | """ |
paulb@352 | 6 | |
paulb@560 | 7 | from WebStack.Adapters.Webware import deploy |
paulb@352 | 8 | from VerySimple import VerySimpleResource |
paulb@352 | 9 | |
paulb@352 | 10 | # NOTE: Initialising a shared resource. |
paulb@352 | 11 | |
paulb@352 | 12 | resource = VerySimpleResource() |
paulb@560 | 13 | urlParser = deploy(resource, handle_errors=0) |
paulb@352 | 14 | |
paulb@352 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |