changeset 50923 | bc9c9ed0659d |
parent 50922 | 13eab1a5db78 |
child 50925 | d718eddf01d9 |
--- a/mercurial/url.py Fri Sep 01 16:35:05 2023 +0200 +++ b/mercurial/url.py Fri Sep 01 16:36:13 2023 +0200 @@ -541,7 +541,10 @@ else: handlers.append(httphandler(timeout=timeout)) if has_https: - handlers.append(httpshandler(ui, timeout=timeout)) + # pytype get confused about the conditional existence for httpshandler here. + handlers.append( + httpshandler(ui, timeout=timeout) # pytype: disable=name-error + ) handlers.append(proxyhandler(ui))