mercurial/wireprotov2server.py
branchstable
changeset 37810 856f381ad74b
parent 37784 ee0d5e9d77b2
child 39448 660879e49b46
--- a/mercurial/wireprotov2server.py	Mon Apr 23 21:13:19 2018 +0900
+++ b/mercurial/wireprotov2server.py	Sun Apr 22 11:54:10 2018 -0700
@@ -12,9 +12,6 @@
 from .thirdparty import (
     cbor,
 )
-from .thirdparty.zope import (
-    interface as zi,
-)
 from . import (
     encoding,
     error,
@@ -24,6 +21,9 @@
     wireprotoframing,
     wireprototypes,
 )
+from .utils import (
+    interfaceutil,
+)
 
 FRAMINGTYPE = b'application/mercurial-exp-framing-0005'
 
@@ -340,7 +340,7 @@
 
     return func(repo, proto, **args)
 
-@zi.implementer(wireprototypes.baseprotocolhandler)
+@interfaceutil.implementer(wireprototypes.baseprotocolhandler)
 class httpv2protocolhandler(object):
     def __init__(self, req, ui, args=None):
         self._req = req