hgweb: remove some legacy code
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Fri, 18 Jan 2008 19:53:38 +0100
changeset 5886 dd1998dd6f3b
parent 5878 d39af2eabb8c
child 5887 41a3fce17625
hgweb: remove some legacy code
mercurial/hgweb/hgweb_mod.py
mercurial/hgweb/request.py
--- 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([])