# HG changeset patch # User paulb # Date 1169150194 0 # Node ID c0ca666b446de82b9fd74946f8939021dabf70e9 # Parent fa9328f513ee54f9ba79b01171f837afc1c15029 [project @ 2007-01-18 19:56:12 by paulb] Changed handle_errors to 1 throughout. diff -r fa9328f513ee -r c0ca666b446d examples/Django/authapp.py --- a/examples/Django/authapp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Django/authapp.py Thu Jan 18 19:56:34 2007 +0000 @@ -6,6 +6,6 @@ resource = AuthResource() authenticator = AuthAuthenticator() -auth = deploy(resource, authenticator=authenticator, handle_errors=0) +auth = deploy(resource, authenticator=authenticator, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Django/calendarapp.py --- a/examples/Django/calendarapp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Django/calendarapp.py Thu Jan 18 19:56:34 2007 +0000 @@ -8,6 +8,6 @@ resource = CalendarResource() #resource = CalendarResource("iso-8859-1") -calendar = deploy(resource, handle_errors=0) +calendar = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Django/cookiesapp.py --- a/examples/Django/cookiesapp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Django/cookiesapp.py Thu Jan 18 19:56:34 2007 +0000 @@ -5,6 +5,6 @@ resource = CookiesResource() -cookies = deploy(resource, handle_errors=0) +cookies = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Django/formapp.py --- a/examples/Django/formapp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Django/formapp.py Thu Jan 18 19:56:34 2007 +0000 @@ -5,6 +5,6 @@ resource = FormResource() -form = deploy(resource, handle_errors=0) +form = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Django/loginapp.py --- a/examples/Django/loginapp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Django/loginapp.py Thu Jan 18 19:56:34 2007 +0000 @@ -14,6 +14,6 @@ use_redirect=0 ) -login = deploy(resource, handle_errors=0) +login = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Django/sessionsapp.py --- a/examples/Django/sessionsapp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Django/sessionsapp.py Thu Jan 18 19:56:34 2007 +0000 @@ -5,6 +5,6 @@ resource = SessionsResource() -sessions = deploy(resource, handle_errors=0) +sessions = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Django/simplewithloginapp.py --- a/examples/Django/simplewithloginapp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Django/simplewithloginapp.py Thu Jan 18 19:56:34 2007 +0000 @@ -14,6 +14,6 @@ use_logout_redirect=0 ) -simplewithlogin = deploy(resource, handle_errors=0) +simplewithlogin = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Django/unicodeapp.py --- a/examples/Django/unicodeapp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Django/unicodeapp.py Thu Jan 18 19:56:34 2007 +0000 @@ -3,6 +3,6 @@ from WebStack.Adapters.Django import deploy from Unicode import UnicodeResource -unicode = deploy(UnicodeResource(), handle_errors=0) +unicode = deploy(UnicodeResource(), handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Django/verysimpleapp.py --- a/examples/Django/verysimpleapp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Django/verysimpleapp.py Thu Jan 18 19:56:34 2007 +0000 @@ -5,6 +5,6 @@ resource = VerySimpleResource() -verysimple = deploy(resource, handle_errors=0) +verysimple = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/AuthApp/AuthHandler.py --- a/examples/ModPython/AuthApp/AuthHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/AuthApp/AuthHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -13,6 +13,6 @@ resource = AuthResource() authenticator = AuthAuthenticator() -handler, authenhandler = deploy(resource, authenticator, handle_errors=0) +handler, authenhandler = deploy(resource, authenticator, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/CalendarApp/CalendarHandler.py --- a/examples/ModPython/CalendarApp/CalendarHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/CalendarApp/CalendarHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -14,6 +14,6 @@ resource = CalendarResource() #resource = CalendarResource("iso-8859-1") -handler, _no_authentication = deploy(resource, handle_errors=0) +handler, _no_authentication = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/CookiesApp/CookiesHandler.py --- a/examples/ModPython/CookiesApp/CookiesHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/CookiesApp/CookiesHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -12,6 +12,6 @@ resource = CookiesResource() -handler, _no_authentication = deploy(resource, handle_errors=0) +handler, _no_authentication = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/FormApp/FormHandler.py --- a/examples/ModPython/FormApp/FormHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/FormApp/FormHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -12,6 +12,6 @@ resource = FormResource() -handler, _no_authentication = deploy(resource, handle_errors=0) +handler, _no_authentication = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/LoginApp/LoginHandler.py --- a/examples/ModPython/LoginApp/LoginHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/LoginApp/LoginHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -21,6 +21,6 @@ use_redirect=0 ) -handler, _no_authentication = deploy(resource, handle_errors=0) +handler, _no_authentication = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/SessionsApp/SessionsHandler.py --- a/examples/ModPython/SessionsApp/SessionsHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/SessionsApp/SessionsHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -12,6 +12,6 @@ resource = SessionsResource() -handler, _no_authentication = deploy(resource, handle_errors=0) +handler, _no_authentication = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/SimpleApp/SimpleHandler.py --- a/examples/ModPython/SimpleApp/SimpleHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/SimpleApp/SimpleHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -12,6 +12,6 @@ resource = SimpleResource() -handler, _no_authentication = deploy(resource, handle_errors=0) +handler, _no_authentication = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py --- a/examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/SimpleWithLoginApp/SimpleWithLoginHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -21,6 +21,6 @@ use_logout_redirect=0 ) -handler, _no_authentication = deploy(resource, handle_errors=0) +handler, _no_authentication = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/UnicodeApp/UnicodeHandler.py --- a/examples/ModPython/UnicodeApp/UnicodeHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/UnicodeApp/UnicodeHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -12,6 +12,6 @@ resource = UnicodeResource() -handler, _no_authentication = deploy(resource, handle_errors=0) +handler, _no_authentication = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/ModPython/VerySimpleApp/VerySimpleHandler.py --- a/examples/ModPython/VerySimpleApp/VerySimpleHandler.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/ModPython/VerySimpleApp/VerySimpleHandler.py Thu Jan 18 19:56:34 2007 +0000 @@ -12,6 +12,6 @@ resource = VerySimpleResource() -handler, _no_authentication = deploy(resource, handle_errors=0) +handler, _no_authentication = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Twisted/SimpleApp.py --- a/examples/Twisted/SimpleApp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Twisted/SimpleApp.py Thu Jan 18 19:56:34 2007 +0000 @@ -4,6 +4,6 @@ from Simple import SimpleResource print "Serving..." -deploy(SimpleResource(), handle_errors=0) +deploy(SimpleResource(), handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Twisted/VerySimpleApp.py --- a/examples/Twisted/VerySimpleApp.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Twisted/VerySimpleApp.py Thu Jan 18 19:56:34 2007 +0000 @@ -4,6 +4,6 @@ from VerySimple import VerySimpleResource print "Serving..." -deploy(VerySimpleResource(), handle_errors=0) +deploy(VerySimpleResource(), handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/AuthContext/__init__.py --- a/examples/Webware/AuthContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/AuthContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -11,6 +11,6 @@ resource = AuthResource() authenticator = AuthAuthenticator() -urlParser = deploy(resource, authenticator, handle_errors=0) +urlParser = deploy(resource, authenticator, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/CalendarContext/__init__.py --- a/examples/Webware/CalendarContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/CalendarContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -13,6 +13,6 @@ resource = CalendarResource() #resource = CalendarResource("iso-8859-1") -urlParser = deploy(resource, handle_errors=0) +urlParser = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/CookiesContext/__init__.py --- a/examples/Webware/CookiesContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/CookiesContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = CookiesResource() -urlParser = deploy(resource, handle_errors=0) +urlParser = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/FormContext/__init__.py --- a/examples/Webware/FormContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/FormContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = FormResource() -urlParser = deploy(resource, handle_errors=0) +urlParser = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/LoginContext/__init__.py --- a/examples/Webware/LoginContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/LoginContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -19,6 +19,6 @@ ) ) -urlParser = deploy(resource, handle_errors=0) +urlParser = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/SessionsContext/__init__.py --- a/examples/Webware/SessionsContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/SessionsContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = SessionsResource() -urlParser = deploy(resource, handle_errors=0) +urlParser = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/SimpleContext/__init__.py --- a/examples/Webware/SimpleContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/SimpleContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = SimpleResource() -urlParser = deploy(resource, handle_errors=0) +urlParser = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/SimpleWithLoginContext/__init__.py --- a/examples/Webware/SimpleWithLoginContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/SimpleWithLoginContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -18,6 +18,6 @@ anonymous_parameter_name="anonymous", logout_parameter_name="logout" ) -urlParser = deploy(resource, handle_errors=0) +urlParser = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/UnicodeContext/__init__.py --- a/examples/Webware/UnicodeContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/UnicodeContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = UnicodeResource() -urlParser = deploy(resource, handle_errors=0) +urlParser = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4 diff -r fa9328f513ee -r c0ca666b446d examples/Webware/VerySimpleContext/__init__.py --- a/examples/Webware/VerySimpleContext/__init__.py Thu Jan 18 18:58:45 2007 +0000 +++ b/examples/Webware/VerySimpleContext/__init__.py Thu Jan 18 19:56:34 2007 +0000 @@ -10,6 +10,6 @@ # NOTE: Initialising a shared resource. resource = VerySimpleResource() -urlParser = deploy(resource, handle_errors=0) +urlParser = deploy(resource, handle_errors=1) # vim: tabstop=4 expandtab shiftwidth=4