changeset 5886:dd1998dd6f3b

hgweb: remove some legacy code
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Fri, 18 Jan 2008 19:53:38 +0100
parents d39af2eabb8c
children 41a3fce17625
files mercurial/hgweb/hgweb_mod.py mercurial/hgweb/request.py
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Fri Jan 18 10:48:25 2008 -0600
+++ b/mercurial/hgweb/hgweb_mod.py	Fri Jan 18 19:53:38 2008 +0100
@@ -854,7 +854,7 @@
         if encoding:
             headers.append(('Content-encoding', encoding))
         req.header(headers)
-        archival.archive(self.repo, req.out, cnode, artype, prefix=name)
+        archival.archive(self.repo, req, cnode, artype, prefix=name)
 
     # add tags to things
     # tags -> list of changesets corresponding to tags
--- a/mercurial/hgweb/request.py	Fri Jan 18 10:48:25 2008 -0600
+++ b/mercurial/hgweb/request.py	Fri Jan 18 19:53:38 2008 +0100
@@ -27,8 +27,6 @@
         self.start_response = start_response
         self.headers = []
 
-    out = property(lambda self: self)
-
     def __iter__(self):
         return iter([])