Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/httppeer.py @ 33730:c0b317cfecc8
httppeer: remove unused handler attribute
The consumer of this attribute was removed by b6bd4ee6ed85 in 2008.
Differential Revision: https://phab.mercurial-scm.org/D267
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 06 Aug 2017 10:56:25 -0700 |
parents | fda0867cfe03 |
children | 73fd395ee29e |
comparison
equal
deleted
inserted
replaced
33729:da3087b8f4a2 | 33730:c0b317cfecc8 |
---|---|
88 | 88 |
89 class httppeer(wireproto.wirepeer): | 89 class httppeer(wireproto.wirepeer): |
90 def __init__(self, ui, path): | 90 def __init__(self, ui, path): |
91 self.path = path | 91 self.path = path |
92 self.caps = None | 92 self.caps = None |
93 self.handler = None | |
94 self.urlopener = None | 93 self.urlopener = None |
95 self.requestbuilder = None | 94 self.requestbuilder = None |
96 u = util.url(path) | 95 u = util.url(path) |
97 if u.query or u.fragment: | 96 if u.query or u.fragment: |
98 raise error.Abort(_('unsupported URL component: "%s"') % | 97 raise error.Abort(_('unsupported URL component: "%s"') % |