When the stdin is closed, it has no isatty atrribute which leads to a KeyError. Closes-Bug: #1980890 Change-Id: If9a3bf68b8dfd953b346697241166578d18bb563 (cherry picked from commit 8df9328a60) (cherry picked from commit 2ad5f0a6b0)
8df9328a60
2ad5f0a6b0