This is an archive of the discontinued Mercurial Phabricator instance.

typing: add an assertion to util.versiontuple
ClosedPublic

Authored by mharbison72 on Dec 15 2019, 11:12 PM.

Details

Summary

Fixes the following warning:

line 1177, in versiontuple: No attribute 'split' on None [attribute-error]
     In Optional[bytes]

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.