Skip to content
Snippets Groups Projects
Commit 7c4e205f authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: use bytes.startswith() instead of comparing with bytes[0]

This is because bytes[0] will return the ascii value and comparison will fail.

This makes test-commit-interactive-curses.t pass on Python 3.

Differential Revision: https://phab.mercurial-scm.org/D5879
parent 635a12c5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment