diff mercurial/hgweb.py @ 582:df8a5a0098d4

Remove all remaining print statements -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Remove all remaining print statements Convert most prints to ui.warn or ui.write Pass a write function into transactions manifest hash: d1b0af7a344fc087a5acfe3ae87b782c20d043e0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCx1Q3ywK+sNU5EO8RAqSTAJwM5t/m+JOlf2ZXOjuItCSdFiubcwCdFm3G HoicikSYpTgfCj2pIRfyLjo= =Loqo -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sat, 02 Jul 2005 18:57:59 -0800
parents 7f5ce4bbdd7b
children f8d44a2e6928
line wrap: on
line diff
--- 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: