mercurial/hgweb.py
changeset 582 df8a5a0098d4
parent 575 7f5ce4bbdd7b
child 598 f8d44a2e6928
--- 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: