diff --git a/mercurial/httppeer.py b/mercurial/httppeer.py --- a/mercurial/httppeer.py +++ b/mercurial/httppeer.py @@ -895,7 +895,7 @@ class httpv2peer(object): return True # Other concepts. - if name in b'bundle2': + if name in (b'bundle2',): return True # Alias command-* to presence of command of that name.