diff options
| author | Remi Delon <rdelon@cherrypy.org> | 2005-10-07 08:14:17 +0000 |
|---|---|---|
| committer | Remi Delon <rdelon@cherrypy.org> | 2005-10-07 08:14:17 +0000 |
| commit | c4257f76b14619dc8dd574f45b0d41e628430574 (patch) | |
| tree | de58825a1105be55df38f59ecfd005c21cbd410d /cherrypy/tutorial | |
| parent | 40d5f4b4e3bcc5044cae07a0918e0a3b5d3fde22 (diff) | |
| download | cherrypy-git-c4257f76b14619dc8dd574f45b0d41e628430574.tar.gz | |
Using smaller PDF file for tutorials (to reduce the size of the tarball)
Diffstat (limited to 'cherrypy/tutorial')
| -rw-r--r-- | cherrypy/tutorial/ReturnVsYield.pdf | bin | 325256 -> 0 bytes | |||
| -rw-r--r-- | cherrypy/tutorial/pdf_file.pdf | bin | 0 -> 85698 bytes | |||
| -rw-r--r-- | cherrypy/tutorial/tut09_files.py | 2 |
3 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/tutorial/ReturnVsYield.pdf b/cherrypy/tutorial/ReturnVsYield.pdf Binary files differdeleted file mode 100644 index bc2d3cb6..00000000 --- a/cherrypy/tutorial/ReturnVsYield.pdf +++ /dev/null diff --git a/cherrypy/tutorial/pdf_file.pdf b/cherrypy/tutorial/pdf_file.pdf Binary files differnew file mode 100644 index 00000000..38b4f15e --- /dev/null +++ b/cherrypy/tutorial/pdf_file.pdf diff --git a/cherrypy/tutorial/tut09_files.py b/cherrypy/tutorial/tut09_files.py index 41567f72..35b2ea53 100644 --- a/cherrypy/tutorial/tut09_files.py +++ b/cherrypy/tutorial/tut09_files.py @@ -45,7 +45,7 @@ class FileDemo(object): upload.exposed = True def download(self): - path = os.path.join(absDir, "ReturnVsYield.pdf") + path = os.path.join(absDir, "pdf_file.pdf") return cptools.serveFile(path, "application/x-download", "attachment", os.path.basename(path)) download.exposed = True |
