Index: /pykota/trunk/cgi-bin/dumpykota.cgi =================================================================== --- /pykota/trunk/cgi-bin/dumpykota.cgi (revision 3413) +++ /pykota/trunk/cgi-bin/dumpykota.cgi (revision 3469) @@ -231,10 +231,9 @@ ctype = "text/plain" fname = "page_log" - print "Content-type: %s" % ctype - print "Content-disposition: attachment; filename=%s" % fname - print + sys.stdout.write("Content-type: %s\n" % ctype) + sys.stdout.write("Content-disposition: attachment; filename=%s\n\n" % fname) self.main(self.arguments, self.options, restricted=0) except : - print 'Content-type: text/html\n\n
%s
' % self.crashed("CGI Error").replace("\n", "%s
\n' % self.crashed("CGI Error").replace("\n", "