diff options
| author | Robert Brewer <fumanchu@aminus.org> | 2010-12-27 23:11:46 +0000 |
|---|---|---|
| committer | Robert Brewer <fumanchu@aminus.org> | 2010-12-27 23:11:46 +0000 |
| commit | f742dac1e34123b88f77e69be2b33d48915e2855 (patch) | |
| tree | bd0b973d139b4dc73fdff4231838f15d56c06bd9 /cherrypy/tutorial | |
| parent | 56ef8b4f721596c1d3bf74e533e67b328e4dfba0 (diff) | |
| download | cherrypy-git-f742dac1e34123b88f77e69be2b33d48915e2855.tar.gz | |
Some backports (mostly whitespace, really) from the python3 branch.
Diffstat (limited to 'cherrypy/tutorial')
| -rw-r--r-- | cherrypy/tutorial/custom_error.html | 4 | ||||
| -rw-r--r-- | cherrypy/tutorial/tut09_files.py | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cherrypy/tutorial/custom_error.html b/cherrypy/tutorial/custom_error.html index 682ec0c0..d0f30c8a 100644 --- a/cherrypy/tutorial/custom_error.html +++ b/cherrypy/tutorial/custom_error.html @@ -6,9 +6,9 @@ <title>403 Unauthorized</title> </head> <body> - <h2>You can't do that!</h2>
+ <h2>You can't do that!</h2> <p>%(message)s</p> - <p>This is a custom error page that is read from a file.<p>
+ <p>This is a custom error page that is read from a file.<p> <pre>%(traceback)s</pre> </body> </html> diff --git a/cherrypy/tutorial/tut09_files.py b/cherrypy/tutorial/tut09_files.py index 6243d650..4c8e5815 100644 --- a/cherrypy/tutorial/tut09_files.py +++ b/cherrypy/tutorial/tut09_files.py @@ -105,4 +105,3 @@ if __name__ == '__main__': else: # This branch is for the test suite; you can ignore it. cherrypy.tree.mount(FileDemo(), config=tutconf) - |
