)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"eab10c707235ccc1e8e253c71f45b9b79d3a0c7e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"6ada4450_0126ba91","updated":"2021-12-13 07:14:07.000000000","message":"AFAIK it will raise AttributeError and not KeyError \npython3 -c \"import sys; sys.stdin.isatty()\" \u003c\u0026-\nTraceback (most recent call last):\n  File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\nAttributeError: \u0027NoneType\u0027 object has no attribute \u0027isatty\u0027\n\n","commit_id":"d717a17071e54dcd25ef31338a7495a22ac30e7b"},{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"481adfc020bd1623920fae99278307dcc2ff2fe8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"5f15ebb1_0ffb3e34","updated":"2021-10-21 02:27:59.000000000","message":"How can I reproduce this?\n\n\u003e\u003e\u003e import sys\n\u003e\u003e\u003e sys.stdin.isatty()\nTrue\n\u003e\u003e\u003e sys.stdin.close()\n\u003e\u003e\u003e sys.stdin.isatty()\nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\nValueError: I/O operation on closed file","commit_id":"d717a17071e54dcd25ef31338a7495a22ac30e7b"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0f5ff9ea6d5e4d37118e0bd88a35d5fce402f38a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"2f1e1b54_b09d31d4","updated":"2021-12-10 13:56:59.000000000","message":"IMO better to have unit test","commit_id":"d717a17071e54dcd25ef31338a7495a22ac30e7b"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"9ec380ea8cd559b2b79481cd163af4e49ba824e9","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"d38523ef_0208cfc6","updated":"2021-12-13 07:20:35.000000000","message":"Need to change commit message, and also hard to write unit test unless we Fake or Mock stdin object which is of no use. So I am ok with just fixing it without test and proper commit message.","commit_id":"d717a17071e54dcd25ef31338a7495a22ac30e7b"},{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"7a1a7cf503bea57473a80d2177a4744d7ec0a2c9","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"5cdbe4b2_ddf774e9","updated":"2021-10-27 01:32:34.000000000","message":"OK, makes perfect sense, thanks for the fix!","commit_id":"d717a17071e54dcd25ef31338a7495a22ac30e7b"},{"author":{"_account_id":28088,"name":"Benedikt Löffler","email":"benedikt.loeffler@bmw.de","username":"bloeffler"},"change_message_id":"2726e14aab7db9f2add292e0ef34eaf1357d2c3d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"acca506e_2938aed4","in_reply_to":"5f15ebb1_0ffb3e34","updated":"2021-10-22 11:59:11.000000000","message":"I need to create an empty image for this I call the glance client with a not valid stdin (like it is suggested here [1]) from a non-terminal environment (docker container in kubernetes)\nglance image-create ... \u003c\u0026-\n\n[1] https://github.com/openstack/python-glanceclient/blob/master/glanceclient/common/utils.py#L397\n\nUpdate:\nHere is how it can be reproduced:\n$ python -c \"import sys; sys.stdin.isatty()\" \u003c\u0026-","commit_id":"d717a17071e54dcd25ef31338a7495a22ac30e7b"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"50489073540f3e6c76368e59a06f5caad24ae010","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"1e933606_a34fa3e8","updated":"2022-06-29 10:29:00.000000000","message":"Thanks Benjamin,\n\nThe change itself looks ok, just quick housekeeping request. Could we please get a bug opened for this so we can backport the fix to the stable branches too.","commit_id":"58c6a5b2d643e31f9d2b085129e4306bc0434b49"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"6cee2c0af0bc5eeefdb9d869aa79906ef9b818a9","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"53bfb188_089f7632","in_reply_to":"1e933606_a34fa3e8","updated":"2022-06-30 14:50:35.000000000","message":"Sorry, Benedikt obviously.","commit_id":"58c6a5b2d643e31f9d2b085129e4306bc0434b49"},{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"1af031a3ec7cdab19580843d857b4809de103795","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"0c618802_9f09d7ee","updated":"2022-07-07 00:56:02.000000000","message":"I opened a bug and added a reference to it in the commit message.","commit_id":"8df9328a60045edae36dc64cee1f2cf3cd4a09fa"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"5e1f5843f48b6a88973c183fd53fcae84e0397bd","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"d35a39cc_92f02b10","updated":"2022-07-07 14:28:58.000000000","message":"Looks good to me!","commit_id":"8df9328a60045edae36dc64cee1f2cf3cd4a09fa"}]}
