Oops.
Details
Details
- Reviewers
durin42 - Group Reviewers
hg-reviewers - Commits
- rHGb9502b5f2066: wireprotoframing: use value passed into function
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
durin42 |
hg-reviewers |
Oops.
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/wireprotoframing.py (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg |
flags=0, | flags=0, | ||||
payload=payload) | payload=payload) | ||||
class stream(object): | class stream(object): | ||||
"""Represents a logical unidirectional series of frames.""" | """Represents a logical unidirectional series of frames.""" | ||||
def __init__(self, streamid, active=False): | def __init__(self, streamid, active=False): | ||||
self.streamid = streamid | self.streamid = streamid | ||||
self._active = False | self._active = active | ||||
def makeframe(self, requestid, typeid, flags, payload): | def makeframe(self, requestid, typeid, flags, payload): | ||||
"""Create a frame to be sent out over this stream. | """Create a frame to be sent out over this stream. | ||||
Only returns the frame instance. Does not actually send it. | Only returns the frame instance. Does not actually send it. | ||||
""" | """ | ||||
streamflags = 0 | streamflags = 0 | ||||
if not self._active: | if not self._active: |