)]}'
{"glanceclient/v1/shell.py":[{"author":{"_account_id":11391,"name":"Mikhail Fedosin","email":"mfedosin@redhat.com","username":"fedosinme"},"change_message_id":"01772ad686bd01faff8c3fb779996a921f44af10","unresolved":false,"context_lines":[{"line_number":264,"context_line":"    # NOTE(kragniz): Check stdin works, then check is there is any data"},{"line_number":265,"context_line":"    # on stdin or a filename has been provided with --file"},{"line_number":266,"context_line":"    try:"},{"line_number":267,"context_line":"        os.fstat(0)"},{"line_number":268,"context_line":"    except OSError:"},{"line_number":269,"context_line":"        return False"},{"line_number":270,"context_line":"    return args.file or args.copy_from"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_05227152","line":267,"updated":"2015-08-25 17:00:24.000000000","message":"I\u0027m not sure, but the problem you\u0027re trying to fix is that ssh doesn\u0027t make friends with isatty: https://www.cygwin.com/ml/cygwin/2012-11/msg00213.html\n\nAnd for this reason \u0027not sys.stdin.isatty()\u0027 doesn\u0027t work well. \n\nMy idea to add additional call after fstat(0) - os.ttyname(0)","commit_id":"05509fde2f560f49be5038e546667248ec6548ac"}]}
