D3333: wireprotoframing: use value passed into function

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Fri Apr 13 18:21:50 EDT 2018


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

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.



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


More information about the Mercurial-devel mailing list