Mercurial > hg
comparison contrib/genosxversion.py @ 46788:693991ccfc49 stable
crecord: null out the curses attribute with `None` on failure to import
Pytype got really confused that this could be `Union[module, bool]`, and spewed
about tons of attributes that are not available on `bool`.
Differential Revision: https://phab.mercurial-scm.org/D10210
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 12 Mar 2021 19:02:07 -0500 |
parents | 148d177a4f2d |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
46787:70f8c64812db | 46788:693991ccfc49 |
---|