Show More
@@ -138,7 +138,9 b' class httppeer(wireproto.wirepeer):' | |||
|
138 | 138 | self._path = path |
|
139 | 139 | self._caps = None |
|
140 | 140 | self._urlopener = None |
|
141 | self._requestbuilder = None | |
|
141 | # This is an its own attribute to facilitate extensions overriding | |
|
142 | # the default type. | |
|
143 | self._requestbuilder = urlreq.request | |
|
142 | 144 | u = util.url(path) |
|
143 | 145 | if u.query or u.fragment: |
|
144 | 146 | raise error.Abort(_('unsupported URL component: "%s"') % |
@@ -151,7 +153,6 b' class httppeer(wireproto.wirepeer):' | |||
|
151 | 153 | ui.debug('using %s\n' % self._url) |
|
152 | 154 | |
|
153 | 155 | self._urlopener = urlmod.opener(ui, authinfo) |
|
154 | self._requestbuilder = urlreq.request | |
|
155 | 156 | |
|
156 | 157 | def __del__(self): |
|
157 | 158 | urlopener = getattr(self, '_urlopener', None) |
General Comments 0
You need to be logged in to leave comments.
Login now