Patchwork D3333: wireprotoframing: use value passed into function

login
register
mail settings
Submitter phabricator
Date April 13, 2018, 10:21 p.m.
Message ID <1eb7db084e0e4a455620ee4677fc87e1@localhost.localdomain>
Download mbox | patch
Permalink /patch/30936/
State Not Applicable
Headers show

Comments

phabricator - April 13, 2018, 10:21 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb9502b5f2066: wireprotoframing: use value passed into function (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3333?vs=8156&id=8191

REVISION DETAIL
  https://phab.mercurial-scm.org/D3333

AFFECTED FILES
  mercurial/wireprotoframing.py

CHANGE DETAILS




To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/mercurial/wireprotoframing.py b/mercurial/wireprotoframing.py
--- a/mercurial/wireprotoframing.py
+++ b/mercurial/wireprotoframing.py
@@ -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.