mercurial/httppeer.py
changeset 37644 77c9ee77687c
parent 37614 a81d02ea65db
child 37651 950294e28136
--- a/mercurial/httppeer.py	Fri Apr 13 11:21:55 2018 -0700
+++ b/mercurial/httppeer.py	Wed Apr 11 18:15:51 2018 -0700
@@ -672,7 +672,7 @@
 #    Integer priority for the service. If we could choose from multiple
 #    services, we choose the one with the highest priority.
 API_PEERS = {
-    wireprototypes.HTTPV2: {
+    wireprototypes.HTTP_WIREPROTO_V2: {
         'init': httpv2peer,
         'priority': 50,
     },