diff mercurial/hgweb/protocol.py @ 20903:8d477543882b

wireproto: introduce an abstractserverproto class sshserver and webproto now inherit from an abstractserverproto class. This class is introduced for documentation purpose.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 28 Mar 2014 11:10:33 -0700
parents e33b9b92a200
children 37fcfe52c68c
line wrap: on
line diff
--- a/mercurial/hgweb/protocol.py	Fri Mar 28 11:37:42 2014 -0700
+++ b/mercurial/hgweb/protocol.py	Fri Mar 28 11:10:33 2014 -0700
@@ -12,7 +12,7 @@
 HGTYPE = 'application/mercurial-0.1'
 HGERRTYPE = 'application/hg-error'
 
-class webproto(object):
+class webproto(wireproto.abstractserverproto):
     def __init__(self, req, ui):
         self.req = req
         self.response = ''