summaryrefslogtreecommitdiff
path: root/cherrypy/tutorial
diff options
context:
space:
mode:
authorRemi Delon <rdelon@cherrypy.org>2005-10-07 08:14:17 +0000
committerRemi Delon <rdelon@cherrypy.org>2005-10-07 08:14:17 +0000
commitc4257f76b14619dc8dd574f45b0d41e628430574 (patch)
treede58825a1105be55df38f59ecfd005c21cbd410d /cherrypy/tutorial
parent40d5f4b4e3bcc5044cae07a0918e0a3b5d3fde22 (diff)
downloadcherrypy-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.pdfbin325256 -> 0 bytes
-rw-r--r--cherrypy/tutorial/pdf_file.pdfbin0 -> 85698 bytes
-rw-r--r--cherrypy/tutorial/tut09_files.py2
3 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/tutorial/ReturnVsYield.pdf b/cherrypy/tutorial/ReturnVsYield.pdf
deleted file mode 100644
index bc2d3cb6..00000000
--- a/cherrypy/tutorial/ReturnVsYield.pdf
+++ /dev/null
Binary files differ
diff --git a/cherrypy/tutorial/pdf_file.pdf b/cherrypy/tutorial/pdf_file.pdf
new file mode 100644
index 00000000..38b4f15e
--- /dev/null
+++ b/cherrypy/tutorial/pdf_file.pdf
Binary files differ
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