Reviewed: https://review.opendev.org/c/openstack/python-glanceclient/+/849059 Committed: https://opendev.org/openstack/python-glanceclient/commit/f0ccd09ad5976cc67eaca244c820a7106aecf4c5 Submitter: "Zuul (22348)" Branch: stable/xena
commit f0ccd09ad5976cc67eaca244c820a7106aecf4c5 Author: Benedikt Loeffler <email address hidden> Date: Wed Oct 13 13:50:36 2021 +0200
Check if stdin has isatty attribute
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 8df9328a60045edae36dc64cee1f2cf3cd4a09fa) (cherry picked from commit 2ad5f0a6b07c25cc8bc371a92baea3d1c52161ad)
Reviewed: https:/ /review. opendev. org/c/openstack /python- glanceclient/ +/849059 /opendev. org/openstack/ python- glanceclient/ commit/ f0ccd09ad5976cc 67eaca244c820a7 106aecf4c5
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit f0ccd09ad5976cc 67eaca244c820a7 106aecf4c5
Author: Benedikt Loeffler <email address hidden>
Date: Wed Oct 13 13:50:36 2021 +0200
Check if stdin has isatty attribute
When the stdin is closed, it has no isatty atrribute which leads to a KeyError.
Closes-Bug: #1980890 53b346697241166 578d18bb563 ae36dc64cee1f2c f3cd4a09fa) c8bc371a92baea3 d1c52161ad)
Change-Id: If9a3bf68b8dfd9
(cherry picked from commit 8df9328a60045ed
(cherry picked from commit 2ad5f0a6b07c25c