changeset 37655:b9502b5f2066

wireprotoframing: use value passed into function Oops. Differential Revision: https://phab.mercurial-scm.org/D3333
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 12 Apr 2018 13:11:29 -0700
parents 8cea0d57bf37
children e6870bca1f47
files mercurial/wireprotoframing.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.