diff options
| author | Robert Brewer <fumanchu@aminus.org> | 2009-08-23 22:29:35 +0000 |
|---|---|---|
| committer | Robert Brewer <fumanchu@aminus.org> | 2009-08-23 22:29:35 +0000 |
| commit | 8ffb957a42bc6b3b1c6a84df2ec4b8bb26b8f7a8 (patch) | |
| tree | fec315069027760d1d207ccd09201621f753afc2 /cherrypy/tutorial | |
| parent | 88943e429be4cd76f1ea39d0b9f7b0801c15cc49 (diff) | |
| download | cherrypy-git-8ffb957a42bc6b3b1c6a84df2ec4b8bb26b8f7a8.tar.gz | |
Switched the json_in tool to take advantage of the new body.processors.
Diffstat (limited to 'cherrypy/tutorial')
| -rw-r--r-- | cherrypy/tutorial/tut09_files.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/tutorial/tut09_files.py b/cherrypy/tutorial/tut09_files.py index cb321c8f..e5107a19 100644 --- a/cherrypy/tutorial/tut09_files.py +++ b/cherrypy/tutorial/tut09_files.py @@ -72,8 +72,8 @@ class FileDemo(object): # Although this just counts the file length, it demonstrates # how to read large files in chunks instead of all at once. - # CherryPy uses Python's cgi module to read the uploaded file - # into a temporary file; myFile.file.read reads from that. + # CherryPy reads the uploaded file into a temporary file; + # myFile.file.read reads from that. size = 0 while True: data = myFile.file.read(8192) |
