diff -r 9db6d5455642 -r df8a5a0098d4 mercurial/hgweb.py --- a/mercurial/hgweb.py Sat Jul 02 18:31:13 2005 -0800 +++ b/mercurial/hgweb.py Sat Jul 02 18:57:59 2005 -0800 @@ -54,7 +54,7 @@ return up + "/" def httphdr(type): - print 'Content-type: %s\n' % type + sys.stdout.write('Content-type: %s\n\n' % type) def write(*things): for thing in things: