)]}'
{"openstack_auth/views.py":[{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"912c2ef9eb405038c8f9a3edd0f135c2fc4b775d","unresolved":false,"context_lines":[{"line_number":93,"context_line":"    extra_context[\u0027csrf_failure\u0027] \u003d request.GET.get(\u0027csrf_failure\u0027)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    choices \u003d getattr(settings, \u0027WEBSSO_CHOICES\u0027, ())"},{"line_number":96,"context_line":"    if utils.is_websso_enabled() and len(choices) \u003e 1:"},{"line_number":97,"context_line":"        show_sso_opts \u003d True"},{"line_number":98,"context_line":"    else:"},{"line_number":99,"context_line":"        show_sso_opts \u003d False"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_4aa71f0d","line":96,"updated":"2018-06-04 07:03:00.000000000","message":"Please, use the following construct to avaid using not needed if-else statement here:\n\nshow_sso_opts \u003d utils.is_websso_enabled() and len(choices)","commit_id":"22814d815d4545e3a26a2a5083690aee2b6c8c42"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"e7ebe2ad03e68f6e0fcf9f2571c94f07b1323603","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    choices \u003d getattr(settings, \u0027WEBSSO_CHOICES\u0027, ())"},{"line_number":96,"context_line":"    extra_context[\u0027show_sso_opts\u0027] \u003d utils.is_websso_enabled() and \\"},{"line_number":97,"context_line":"        len(choices) \u003e 1"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    if not template_name:"},{"line_number":100,"context_line":"        if request.is_ajax():"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_cdc26435","line":97,"updated":"2018-06-04 12:33:44.000000000","message":"nitpick: put this in () instead of using \\","commit_id":"fe03ffcd84dea969763b0611162929678d861359"}]}
