This function is moderately annoyingly defined, and peer is set up iff we're
not in raw-proto mode. That's fine, but it confuses pytype. Adding these
assertions is a low-overhead way to convince pytype we're doing reasonable
things.
Details
Details
- Reviewers
dlax indygreg - Group Reviewers
hg-reviewers - Commits
- rHG23ad4f0c1578: debugcommands: add assertions to convince pytype peer is not None
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped