Mercurial > hg
diff rust/Cargo.lock @ 36110:230489fc0b41
py3: catch TypeError during template operations
Two places in this code Python 3 changed from raising ValueError
to TypeError. So catch the addition exceptions.
IMO this code might be better off performing type sniffing. But
I'm not sure the implications of changing that.
Differential Revision: https://phab.mercurial-scm.org/D2156
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 16:16:43 -0800 |
parents | 98b87b8307e0 |
children | dbc28c91f7ff |