# HG changeset patch # User paulb # Date 1193520442 0 # Node ID dc85e22e5a80ca6ee67da268031f8d914d6c93dd # Parent 6fba3c12b7b02b6cbe32be5ddd2dc942947df0db [project @ 2007-10-27 21:27:07 by paulb] Switched off error handling in examples. diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/authapp.py --- a/examples/Django/authapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/authapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -6,6 +6,6 @@ resource = AuthResource() authenticator = AuthAuthenticator() -auth = deploy(resource, authenticator=authenticator, handle_errors=1) +auth = deploy(resource, authenticator=authenticator, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/calendarapp.py --- a/examples/Django/calendarapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/calendarapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -8,6 +8,6 @@ resource = CalendarResource() #resource = CalendarResource("iso-8859-1") -calendar = deploy(resource, handle_errors=1) +calendar = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/cookiesapp.py --- a/examples/Django/cookiesapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/cookiesapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -5,6 +5,6 @@ resource = CookiesResource() -cookies = deploy(resource, handle_errors=1) +cookies = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/formapp.py --- a/examples/Django/formapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/formapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -5,6 +5,6 @@ resource = FormResource() -form = deploy(resource, handle_errors=1) +form = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/loginapp.py --- a/examples/Django/loginapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/loginapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -14,6 +14,6 @@ use_redirect=0 ) -login = deploy(resource, handle_errors=1) +login = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/sessionsapp.py --- a/examples/Django/sessionsapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/sessionsapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -5,6 +5,6 @@ resource = SessionsResource() -sessions = deploy(resource, handle_errors=1) +sessions = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/simpleapp.py --- a/examples/Django/simpleapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/simpleapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -5,6 +5,6 @@ resource = SimpleResource() -simple = deploy(resource) +simple = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/simplewithloginapp.py --- a/examples/Django/simplewithloginapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/simplewithloginapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -14,6 +14,6 @@ use_logout_redirect=0 ) -simplewithlogin = deploy(resource, handle_errors=1) +simplewithlogin = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/unicodeapp.py --- a/examples/Django/unicodeapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/unicodeapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -3,6 +3,6 @@ from WebStack.Adapters.Django import deploy from Unicode import UnicodeResource -unicode = deploy(UnicodeResource(), handle_errors=1) +unicode = deploy(UnicodeResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Django/verysimpleapp.py --- a/examples/Django/verysimpleapp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Django/verysimpleapp.py Sat Oct 27 21:27:22 2007 +0000 @@ -5,6 +5,6 @@ resource = VerySimpleResource() -verysimple = deploy(resource, handle_errors=1) +verysimple = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/AuthApp.py --- a/examples/JavaServlet/AuthApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/AuthApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -3,6 +3,6 @@ from WebStack.Adapters.JavaServlet import deploy from Auth import AuthResource, AuthAuthenticator -AuthApp = deploy(AuthResource(), AuthAuthenticator()) +AuthApp = deploy(AuthResource(), AuthAuthenticator(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/CalendarApp.py --- a/examples/JavaServlet/CalendarApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/CalendarApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -3,7 +3,7 @@ from WebStack.Adapters.JavaServlet import deploy from Calendar import CalendarResource -CalendarApp = deploy(CalendarResource()) -#CalendarApp = deploy(CalendarResource("iso-8859-1")) +CalendarApp = deploy(CalendarResource(), handle_errors=0) +#CalendarApp = deploy(CalendarResource("iso-8859-1"), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/CookiesApp.py --- a/examples/JavaServlet/CookiesApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/CookiesApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -3,6 +3,6 @@ from WebStack.Adapters.JavaServlet import deploy from Cookies import CookiesResource -CookiesApp = deploy(CookiesResource()) +CookiesApp = deploy(CookiesResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/FormApp.py --- a/examples/JavaServlet/FormApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/FormApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -3,6 +3,6 @@ from WebStack.Adapters.JavaServlet import deploy from Form import FormResource -FormApp = deploy(FormResource()) +FormApp = deploy(FormResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/LoginApp.py --- a/examples/JavaServlet/LoginApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/LoginApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -16,6 +16,6 @@ use_redirect=0 ) -LoginApp = deploy(resource) +LoginApp = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/SessionsApp.py --- a/examples/JavaServlet/SessionsApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/SessionsApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -3,6 +3,6 @@ from WebStack.Adapters.JavaServlet import deploy from Sessions import SessionsResource -SessionsApp = deploy(SessionsResource()) +SessionsApp = deploy(SessionsResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/SimpleApp.py --- a/examples/JavaServlet/SimpleApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/SimpleApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -3,6 +3,6 @@ from WebStack.Adapters.JavaServlet import deploy from Simple import SimpleResource -SimpleApp = deploy(SimpleResource()) +SimpleApp = deploy(SimpleResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/SimpleWithLoginApp.py --- a/examples/JavaServlet/SimpleWithLoginApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/SimpleWithLoginApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -30,7 +30,7 @@ ) ) }), - handle_errors=1 + handle_errors=0 ) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/UnicodeApp.py --- a/examples/JavaServlet/UnicodeApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/UnicodeApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -3,6 +3,6 @@ from WebStack.Adapters.JavaServlet import deploy from Unicode import UnicodeResource -UnicodeApp = deploy(UnicodeResource()) +UnicodeApp = deploy(UnicodeResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/JavaServlet/VerySimpleApp.py --- a/examples/JavaServlet/VerySimpleApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/JavaServlet/VerySimpleApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -3,6 +3,6 @@ from WebStack.Adapters.JavaServlet import deploy from VerySimple import VerySimpleResource -VerySimpleApp = deploy(VerySimpleResource()) +VerySimpleApp = deploy(VerySimpleResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/AuthApp/AuthHandler.py --- a/examples/ModPython/AuthApp/AuthHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/AuthApp/AuthHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -13,6 +13,6 @@ resource = AuthResource() authenticator = AuthAuthenticator() -handler, authenhandler = deploy(resource, authenticator, handle_errors=1) +handler, authenhandler = deploy(resource, authenticator, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/CalendarApp/CalendarHandler.py --- a/examples/ModPython/CalendarApp/CalendarHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/CalendarApp/CalendarHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -14,6 +14,6 @@ resource = CalendarResource() #resource = CalendarResource("iso-8859-1") -handler, _no_authentication = deploy(resource, handle_errors=1) +handler, _no_authentication = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/CookiesApp/CookiesHandler.py --- a/examples/ModPython/CookiesApp/CookiesHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/CookiesApp/CookiesHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -12,6 +12,6 @@ resource = CookiesResource() -handler, _no_authentication = deploy(resource, handle_errors=1) +handler, _no_authentication = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/FormApp/FormHandler.py --- a/examples/ModPython/FormApp/FormHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/FormApp/FormHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -12,6 +12,6 @@ resource = FormResource() -handler, _no_authentication = deploy(resource, handle_errors=1) +handler, _no_authentication = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/LoginApp/LoginHandler.py --- a/examples/ModPython/LoginApp/LoginHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/LoginApp/LoginHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -21,6 +21,6 @@ use_redirect=0 ) -handler, _no_authentication = deploy(resource, handle_errors=1) +handler, _no_authentication = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/SessionsApp/SessionsHandler.py --- a/examples/ModPython/SessionsApp/SessionsHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/SessionsApp/SessionsHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -12,6 +12,6 @@ resource = SessionsResource() -handler, _no_authentication = deploy(resource, handle_errors=1) +handler, _no_authentication = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/SimpleApp/SimpleHandler.py --- a/examples/ModPython/SimpleApp/SimpleHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/SimpleApp/SimpleHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -12,6 +12,6 @@ resource = SimpleResource() -handler, _no_authentication = deploy(resource, handle_errors=1) +handler, _no_authentication = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py --- a/examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -21,6 +21,6 @@ use_logout_redirect=0 ) -handler, _no_authentication = deploy(resource, handle_errors=1) +handler, _no_authentication = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/UnicodeApp/UnicodeHandler.py --- a/examples/ModPython/UnicodeApp/UnicodeHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/UnicodeApp/UnicodeHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -12,6 +12,6 @@ resource = UnicodeResource() -handler, _no_authentication = deploy(resource, handle_errors=1) +handler, _no_authentication = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/ModPython/VerySimpleApp/VerySimpleHandler.py --- a/examples/ModPython/VerySimpleApp/VerySimpleHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/ModPython/VerySimpleApp/VerySimpleHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -12,6 +12,6 @@ resource = VerySimpleResource() -handler, _no_authentication = deploy(resource, handle_errors=1) +handler, _no_authentication = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/AuthApp.py --- a/examples/Twisted/AuthApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/AuthApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -4,6 +4,6 @@ from Auth import AuthResource, AuthAuthenticator print "Serving..." -deploy(AuthResource(), AuthAuthenticator()) +deploy(AuthResource(), AuthAuthenticator(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/CalendarApp.py --- a/examples/Twisted/CalendarApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/CalendarApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -7,7 +7,7 @@ # Choose or customise one of the following if the example fails. -deploy(CalendarResource()) -#deploy(CalendarResource("iso-8859-1")) +deploy(CalendarResource(), handle_errors=0) +#deploy(CalendarResource("iso-8859-1"), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/CookiesApp.py --- a/examples/Twisted/CookiesApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/CookiesApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -4,6 +4,6 @@ from Cookies import CookiesResource print "Serving..." -deploy(CookiesResource()) +deploy(CookiesResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/FormApp.py --- a/examples/Twisted/FormApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/FormApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -4,6 +4,6 @@ from Form import FormResource print "Serving..." -deploy(FormResource()) +deploy(FormResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/LoginApp.py --- a/examples/Twisted/LoginApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/LoginApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -14,7 +14,8 @@ ) ) ), - address=("", 8081) + address=("", 8081), + handle_errors=0 ) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/SessionsApp.py --- a/examples/Twisted/SessionsApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/SessionsApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -4,6 +4,6 @@ from Sessions import SessionsResource print "Serving..." -deploy(SessionsResource()) +deploy(SessionsResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/SimpleApp.py --- a/examples/Twisted/SimpleApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/SimpleApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -4,6 +4,6 @@ from Simple import SimpleResource print "Serving..." -deploy(SimpleResource(), handle_errors=1) +deploy(SimpleResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/SimpleWithLoginApp.py --- a/examples/Twisted/SimpleWithLoginApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/SimpleWithLoginApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -29,7 +29,7 @@ ) ) }), - handle_errors=1 + handle_errors=0 ) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/UnicodeApp.py --- a/examples/Twisted/UnicodeApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/UnicodeApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -4,6 +4,6 @@ from Unicode import UnicodeResource print "Serving..." -deploy(UnicodeResource()) +deploy(UnicodeResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Twisted/VerySimpleApp.py --- a/examples/Twisted/VerySimpleApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Twisted/VerySimpleApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -4,6 +4,6 @@ from VerySimple import VerySimpleResource print "Serving..." -deploy(VerySimpleResource(), handle_errors=1) +deploy(VerySimpleResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/CalendarApp.py --- a/examples/WSGI/CalendarApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/CalendarApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -12,7 +12,7 @@ # Choose or customise one of the following if the example fails. -deploy(CalendarResource()) -#deploy(CalendarResource("iso-8859-1")) +deploy(CalendarResource(), handle_errors=0) +#deploy(CalendarResource("iso-8859-1"), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/CalendarHandler.py --- a/examples/WSGI/CalendarHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/CalendarHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -12,7 +12,7 @@ # Choose or customise one of the following if the example fails. -deploy_as_cgi(CalendarResource()) -#deploy_as_cgi(CalendarResource("iso-8859-1")) +deploy_as_cgi(CalendarResource(), handle_errors=0) +#deploy_as_cgi(CalendarResource("iso-8859-1"), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/CookiesApp.py --- a/examples/WSGI/CookiesApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/CookiesApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy from Cookies import CookiesResource -deploy(CookiesResource()) +deploy(CookiesResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/CookiesHandler.py --- a/examples/WSGI/CookiesHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/CookiesHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_as_cgi from Cookies import CookiesResource -deploy_as_cgi(CookiesResource()) +deploy_as_cgi(CookiesResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/FormApp.py --- a/examples/WSGI/FormApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/FormApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy from Form import FormResource -deploy(FormResource()) +deploy(FormResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/FormHandler.py --- a/examples/WSGI/FormHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/FormHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_as_cgi from Form import FormResource -deploy_as_cgi(FormResource()) +deploy_as_cgi(FormResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/LoginApp.py --- a/examples/WSGI/LoginApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/LoginApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -19,7 +19,8 @@ ("vole", "xyz"), ) ) - ) + ), + handle_errors=0 ) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/LoginHandler.py --- a/examples/WSGI/LoginHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/LoginHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -19,7 +19,8 @@ ("vole", "xyz"), ) ) - ) + ), + handle_errors=0 ) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/SessionsHandler.py --- a/examples/WSGI/SessionsHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/SessionsHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_as_cgi from Sessions import SessionsResource -deploy_as_cgi(SessionsResource()) +deploy_as_cgi(SessionsResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/SimpleApp.py --- a/examples/WSGI/SimpleApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/SimpleApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy from Simple import SimpleResource -deploy(SimpleResource()) +deploy(SimpleResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/SimpleHandler.py --- a/examples/WSGI/SimpleHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/SimpleHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_as_cgi from Simple import SimpleResource -deploy_as_cgi(SimpleResource()) +deploy_as_cgi(SimpleResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/SimpleWithLoginApp.py --- a/examples/WSGI/SimpleWithLoginApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/SimpleWithLoginApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -35,7 +35,7 @@ ) ) }), - handle_errors=1 + handle_errors=0 ) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/SimpleWithLoginHandler.py --- a/examples/WSGI/SimpleWithLoginHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/SimpleWithLoginHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -35,7 +35,7 @@ ) ) }), - handle_errors=1 + handle_errors=0 ) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/UnicodeApp.py --- a/examples/WSGI/UnicodeApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/UnicodeApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy from Unicode import UnicodeResource -deploy(UnicodeResource()) +deploy(UnicodeResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/UnicodeHandler.py --- a/examples/WSGI/UnicodeHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/UnicodeHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_as_cgi from Unicode import UnicodeResource -deploy_as_cgi(UnicodeResource()) +deploy_as_cgi(UnicodeResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/VerySimpleApp.py --- a/examples/WSGI/VerySimpleApp.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/VerySimpleApp.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_with_wsgiref as deploy from VerySimple import VerySimpleResource -deploy(VerySimpleResource()) +deploy(VerySimpleResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/WSGI/VerySimpleHandler.py --- a/examples/WSGI/VerySimpleHandler.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/WSGI/VerySimpleHandler.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ from WebStack.Adapters.WSGI import deploy_as_cgi from VerySimple import VerySimpleResource -deploy_as_cgi(VerySimpleResource()) +deploy_as_cgi(VerySimpleResource(), handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/AuthContext/__init__.py --- a/examples/Webware/AuthContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/AuthContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -11,6 +11,6 @@ resource = AuthResource() authenticator = AuthAuthenticator() -urlParser = deploy(resource, authenticator, handle_errors=1) +urlParser = deploy(resource, authenticator, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/CalendarContext/__init__.py --- a/examples/Webware/CalendarContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/CalendarContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -13,6 +13,6 @@ resource = CalendarResource() #resource = CalendarResource("iso-8859-1") -urlParser = deploy(resource, handle_errors=1) +urlParser = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/CookiesContext/__init__.py --- a/examples/Webware/CookiesContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/CookiesContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = CookiesResource() -urlParser = deploy(resource, handle_errors=1) +urlParser = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/FormContext/__init__.py --- a/examples/Webware/FormContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/FormContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = FormResource() -urlParser = deploy(resource, handle_errors=1) +urlParser = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/LoginContext/__init__.py --- a/examples/Webware/LoginContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/LoginContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -19,6 +19,6 @@ ) ) -urlParser = deploy(resource, handle_errors=1) +urlParser = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/SessionsContext/__init__.py --- a/examples/Webware/SessionsContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/SessionsContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = SessionsResource() -urlParser = deploy(resource, handle_errors=1) +urlParser = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/SimpleContext/__init__.py --- a/examples/Webware/SimpleContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/SimpleContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = SimpleResource() -urlParser = deploy(resource, handle_errors=1) +urlParser = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/SimpleWithLoginContext/__init__.py --- a/examples/Webware/SimpleWithLoginContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/SimpleWithLoginContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -34,6 +34,6 @@ ) }) -urlParser = deploy(resource, handle_errors=1) +urlParser = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/UnicodeContext/__init__.py --- a/examples/Webware/UnicodeContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/UnicodeContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = UnicodeResource() -urlParser = deploy(resource, handle_errors=1) +urlParser = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4 diff -r 6fba3c12b7b0 -r dc85e22e5a80 examples/Webware/VerySimpleContext/__init__.py --- a/examples/Webware/VerySimpleContext/__init__.py Sat Oct 27 21:27:04 2007 +0000 +++ b/examples/Webware/VerySimpleContext/__init__.py Sat Oct 27 21:27:22 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = VerySimpleResource() -urlParser = deploy(resource, handle_errors=1) +urlParser = deploy(resource, handle_errors=0) # vim: tabstop=4 expandtab shiftwidth=4