This does not seem to work on Python 3. Update the code to use the built-in support. Signed-off-by: Simon Glass <sjg at chromium.org> --- Changes in v2: None tools/patman/terminal.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Applied to u-boot-dm, thanks!