~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to lib/common/cgirequest.py

  • Committer: drtomc
  • Date: 2008-02-08 04:30:55 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:436
fileservice: Make things less broken than they were. No claims of perfection yet! Unpacking form data with cgi.py is AWFUL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
        f = open(filename)
230
230
        buf = f.read(1024)
231
231
        while len(buf) > 0:
232
 
            sys.stdout.flush(buf)
 
232
            sys.stdout.write(buf)
 
233
            sys.stdout.flush()
233
234
            buf = f.read(1024)
234
235
        f.close()
235
236