diff -r 37b7581e5737 -r a57c938e7ac8 mercurial/httppeer.py --- a/mercurial/httppeer.py Mon Oct 02 19:25:11 2017 -0700 +++ b/mercurial/httppeer.py Fri Sep 29 15:48:34 2017 +0000 @@ -151,7 +151,7 @@ if urlopener: for h in urlopener.handlers: h.close() - getattr(h, "close_all", lambda : None)() + getattr(h, "close_all", lambda: None)() # Begin of _basepeer interface.