comparison contrib/casesmash.py @ 43458:117b41b1859d stable

py3: compare response of crecord's confirmationwindow with str confirmationwindow() returns a native string, as a result of calling chr() on getch(). On Python 3, response.lower().startswith(b"y") leads to a TypeError. This fixes a crash when typing "r" in the curses interface of interactive commit.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Wed, 06 Nov 2019 17:12:13 +0100
parents 2372284d9457
children 6000f5b25c9b
comparison
equal deleted inserted replaced
43457:92e24a139ecc 43458:117b41b1859d