)]}'
{"cinderclient/shell.py":[{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"d29eedf00a2481122ffa1c7fdcf5d0bbe5e2e536","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        parser.add_argument(\u0027--os-auth-system\u0027,"},{"line_number":144,"context_line":"                            metavar\u003d\u0027\u003cos-auth-system\u003e\u0027,"},{"line_number":145,"context_line":"                            dest\u003d\u0027os_auth_type\u0027,"},{"line_number":146,"context_line":"                            default\u003dutils.env(\u0027OS_AUTH_SYSTEM\u0027),"},{"line_number":147,"context_line":"                            help\u003d_(\u0027DEPRECATED! Use --os-auth-type. \u0027"},{"line_number":148,"context_line":"                                   \u0027Defaults to env[OS_AUTH_SYSTEM].\u0027))"},{"line_number":149,"context_line":"        parser.add_argument(\u0027--os_auth_system\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"df140735_292ba730","line":146,"range":{"start_line":146,"start_character":28,"end_line":146,"end_character":64},"updated":"2017-05-31 14:57:09.000000000","message":"? Won\u0027t this be a problem since we are setting the default of os_auth_type to 2 different things? Here and in L154","commit_id":"0cee40354b10d4f2af68938843cd897e4bb85f1c"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"1548213d7120590d829b60af0c755189754ad837","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        parser.add_argument(\u0027--os-auth-system\u0027,"},{"line_number":144,"context_line":"                            metavar\u003d\u0027\u003cos-auth-system\u003e\u0027,"},{"line_number":145,"context_line":"                            dest\u003d\u0027os_auth_type\u0027,"},{"line_number":146,"context_line":"                            default\u003dutils.env(\u0027OS_AUTH_SYSTEM\u0027),"},{"line_number":147,"context_line":"                            help\u003d_(\u0027DEPRECATED! Use --os-auth-type. \u0027"},{"line_number":148,"context_line":"                                   \u0027Defaults to env[OS_AUTH_SYSTEM].\u0027))"},{"line_number":149,"context_line":"        parser.add_argument(\u0027--os_auth_system\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"df140735_c43532dc","line":146,"range":{"start_line":146,"start_character":28,"end_line":146,"end_character":64},"in_reply_to":"df140735_292ba730","updated":"2017-05-31 15:14:54.000000000","message":"Hmm, good question. I honestly hadn\u0027t even really looked at that part as it was existing and not something I was addressing here. But that doesn\u0027t look right.\n\nLooks like it was introduced here:\n\nhttps://github.com/openstack/python-cinderclient/commit/60f92db7049b4f66e5198b86bfecc1029b6cdccd#diff-7e52bfb77cc95e4c1d46b1d39f9ff764R145\n\nI wonder if we can go back to not have a dest\u003d set like it was prior to that?","commit_id":"0cee40354b10d4f2af68938843cd897e4bb85f1c"},{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"2ae67dd81a0c8c701604d52a952f5b395abf7d88","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        parser.add_argument(\u0027--os-auth-system\u0027,"},{"line_number":144,"context_line":"                            metavar\u003d\u0027\u003cos-auth-system\u003e\u0027,"},{"line_number":145,"context_line":"                            dest\u003d\u0027os_auth_type\u0027,"},{"line_number":146,"context_line":"                            default\u003dutils.env(\u0027OS_AUTH_SYSTEM\u0027),"},{"line_number":147,"context_line":"                            help\u003d_(\u0027DEPRECATED! Use --os-auth-type. \u0027"},{"line_number":148,"context_line":"                                   \u0027Defaults to env[OS_AUTH_SYSTEM].\u0027))"},{"line_number":149,"context_line":"        parser.add_argument(\u0027--os_auth_system\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"df140735_3132d611","line":146,"range":{"start_line":146,"start_character":28,"end_line":146,"end_character":64},"in_reply_to":"df140735_c43532dc","updated":"2017-06-01 11:05:22.000000000","message":"To be sure we don\u0027t break anything I would go with a solution I don\u0027t like very much, and that is to set the default here and in L154 to the same value:\n\n default\u003d(utils.env(\u0027OS_AUTH_TYPE\u0027) or\n          utils.env(\u0027OS_AUTH_SYSTEM\u0027)),\n\nThat way both arguments and environmental variables should work, the newer env variable would take precedence, and it wouldn\u0027t matter the order in which the default value of arguments are processed.  At least that\u0027s what I think but it would be easy to test with a couple of unit tests.","commit_id":"0cee40354b10d4f2af68938843cd897e4bb85f1c"}]}
