diff --git a/mercurial/httppeer.py b/mercurial/httppeer.py
index 08802795ae90c2ad7f4f5c16c1bb6766e1e91403_bWVyY3VyaWFsL2h0dHBwZWVyLnB5..aad81032a128c2dc44e0aaabe41d2211e347d8d9_bWVyY3VyaWFsL2h0dHBwZWVyLnB5 100644
--- a/mercurial/httppeer.py
+++ b/mercurial/httppeer.py
@@ -895,7 +895,7 @@
             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.