[PATCH 5 of 15] Fix copy paste error

vincent at ricardis.tudelft.nl vincent at ricardis.tudelft.nl
Wed Aug 24 16:49:13 CDT 2005


Patch subject is complete summary.


# HG changeset patch
# User Vincent Wagelaar <vincent at ricardis.tudelft.nl>
# Node ID 97a6abc2f90c2d3b9e46f7f17fccad5fca675aac
# Parent  d67a94524677b55d240636a3bcf378dc5e0b3cab
Fix copy paste error

diff -r d67a94524677 -r 97a6abc2f90c mercurial/hgweb.py
--- a/mercurial/hgweb.py	Wed Aug 24 13:16:18 2005
+++ b/mercurial/hgweb.py	Wed Aug 24 13:17:33 2005
@@ -57,8 +57,8 @@
     fd.write('Content-type: %s\r\n\r\n' % type)
 
 def httpnotfound(fd, filename):
-    out.write("Status: 404\r\n\r\n")
-    out.write("File not found: (%s)" % (filename, ))
+    fd.write("Status: 404\r\n\r\n")
+    fd.write("File not found: (%s)" % (filename, ))
 
 def write(stdout, fd, *things):
     for thing in things:


More information about the Mercurial mailing list