Caught by pytype:
line 969, in __repr__: Function bytes.join was called with the wrong arguments [wrong-arg-types] Expected: (self, iterable: Iterable[bytes]) Actually passed: (self, iterable: Iterator[str])
| pulkit | |
| dlax |
| hg-reviewers |
Caught by pytype:
line 969, in __repr__: Function bytes.join was called with the wrong arguments [wrong-arg-types] Expected: (self, iterable: Iterable[bytes]) Actually passed: (self, iterable: Iterator[str])
| Automatic diff as part of commit; lint not applicable. |
| Automatic diff as part of commit; unit tests not applicable. |
| mercurial/patch.py | ||
|---|---|---|
| 966 | Somehow unrelated, but self.files() returns a list of bytes I think. So this will lead to something like "<header b'file' b'file'>". But maybe this is okay? (at least it wouldn't crash now) | |
Somehow unrelated, but self.files() returns a list of bytes I think. So this will lead to something like "<header b'file' b'file'>". But maybe this is okay? (at least it wouldn't crash now)