wireprotoframing: use value passed into function
authorGregory Szorc <gregory.szorc@gmail.com>
Thu, 12 Apr 2018 13:11:29 -0700
changeset 37655 b9502b5f2066
parent 37654 8cea0d57bf37
child 37656 e6870bca1f47
wireprotoframing: use value passed into function Oops. Differential Revision: https://phab.mercurial-scm.org/D3333
mercurial/wireprotoframing.py
--- a/mercurial/wireprotoframing.py	Thu Apr 12 13:08:33 2018 -0700
+++ b/mercurial/wireprotoframing.py	Thu Apr 12 13:11:29 2018 -0700
@@ -464,7 +464,7 @@
 
     def __init__(self, streamid, active=False):
         self.streamid = streamid
-        self._active = False
+        self._active = active
 
     def makeframe(self, requestid, typeid, flags, payload):
         """Create a frame to be sent out over this stream.