)]}'
{"osc_lib/api/auth.py":[{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"9c7d15fb067ab5875aac86f533fd47f7153b2847","unresolved":false,"context_lines":[{"line_number":97,"context_line":"    # the oslo_config.cfg.Opt does not work, as it is not possible to load the"},{"line_number":98,"context_line":"    # plugin if the option is not defined, so the error will simply be:"},{"line_number":99,"context_line":"    # \"NoMatchingPlugin: The plugin foobar could not be found\""},{"line_number":100,"context_line":"    msgs \u003d []"},{"line_number":101,"context_line":"    if \u0027password\u0027 in plugin_opts and not options.auth.get(\u0027username\u0027):"},{"line_number":102,"context_line":"        msgs.append(_("},{"line_number":103,"context_line":"            \u0027Set a username with --os-username, OS_USERNAME,\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_f50a4e25","line":100,"range":{"start_line":100,"start_character":4,"end_line":100,"end_character":13},"updated":"2016-09-12 21:02:37.000000000","message":"the check should be done between here and the other IFs, no need to redefine \u0027msgs\u0027 down below.","commit_id":"b90bb7c19f0004428848ae27c6774e3d31881138"},{"author":{"_account_id":15950,"name":"Ukesh Kumar","email":"ukeshkumar@gmail.com","username":"ukeshkumar"},"change_message_id":"944b1c4d3f5131bc341aa26a765cc15ce49abe1d","unresolved":false,"context_lines":[{"line_number":97,"context_line":"    # the oslo_config.cfg.Opt does not work, as it is not possible to load the"},{"line_number":98,"context_line":"    # plugin if the option is not defined, so the error will simply be:"},{"line_number":99,"context_line":"    # \"NoMatchingPlugin: The plugin foobar could not be found\""},{"line_number":100,"context_line":"    msgs \u003d []"},{"line_number":101,"context_line":"    if \u0027password\u0027 in plugin_opts and not options.auth.get(\u0027username\u0027):"},{"line_number":102,"context_line":"        msgs.append(_("},{"line_number":103,"context_line":"            \u0027Set a username with --os-username, OS_USERNAME,\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_f4b082ff","line":100,"range":{"start_line":100,"start_character":4,"end_line":100,"end_character":13},"in_reply_to":"9a89bdaa_f50a4e25","updated":"2016-09-13 05:59:00.000000000","message":"Done","commit_id":"b90bb7c19f0004428848ae27c6774e3d31881138"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"e4e296e7d4f2b080cd9ed5a4fd7966dedbf3af1c","unresolved":false,"context_lines":[{"line_number":117,"context_line":"            \u0027Set a token with --os-token, OS_TOKEN or auth.token\u0027"},{"line_number":118,"context_line":"        ))"},{"line_number":119,"context_line":"    # when not auth params are passed in, user advised to use os-cloud"},{"line_number":120,"context_line":"    if not options.auth:"},{"line_number":121,"context_line":"        msgs \u003d []"},{"line_number":122,"context_line":"        msgs.append(_("},{"line_number":123,"context_line":"            \u0027Set a cloud-name with --os-cloud or OS_CLOUD\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_14b51430","line":120,"updated":"2016-09-12 11:49:50.000000000","message":"It might be nicer to do the test for not options.auth a little earlier, or maybe rethink the logic a little. The lines before this do things like \"not options.auth.get()\" ... so if not options.auth this will have thrown an exception long before it gets here.","commit_id":"b90bb7c19f0004428848ae27c6774e3d31881138"},{"author":{"_account_id":15950,"name":"Ukesh Kumar","email":"ukeshkumar@gmail.com","username":"ukeshkumar"},"change_message_id":"944b1c4d3f5131bc341aa26a765cc15ce49abe1d","unresolved":false,"context_lines":[{"line_number":117,"context_line":"            \u0027Set a token with --os-token, OS_TOKEN or auth.token\u0027"},{"line_number":118,"context_line":"        ))"},{"line_number":119,"context_line":"    # when not auth params are passed in, user advised to use os-cloud"},{"line_number":120,"context_line":"    if not options.auth:"},{"line_number":121,"context_line":"        msgs \u003d []"},{"line_number":122,"context_line":"        msgs.append(_("},{"line_number":123,"context_line":"            \u0027Set a cloud-name with --os-cloud or OS_CLOUD\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_14b6c6f8","line":120,"in_reply_to":"9a89bdaa_14b51430","updated":"2016-09-13 05:59:00.000000000","message":"Done","commit_id":"b90bb7c19f0004428848ae27c6774e3d31881138"},{"author":{"_account_id":8410,"name":"Richard Theis","email":"rtheis@us.ibm.com","username":"rtheis"},"change_message_id":"eaa0614148da0a9d26cc7ce641fa4fc086a7afd9","unresolved":false,"context_lines":[{"line_number":104,"context_line":"        msgs.append(_("},{"line_number":105,"context_line":"            \u0027Set a cloud-name with --os-cloud or OS_CLOUD\u0027"},{"line_number":106,"context_line":"        ))"},{"line_number":107,"context_line":"    if \u0027password\u0027 in plugin_opts and options.auth and \\"},{"line_number":108,"context_line":"            not options.auth.get(\u0027username\u0027):"},{"line_number":109,"context_line":"        msgs.append(_("},{"line_number":110,"context_line":"            \u0027Set a username with --os-username, OS_USERNAME,\u0027"},{"line_number":111,"context_line":"            \u0027 or auth.username\u0027"},{"line_number":112,"context_line":"        ))"},{"line_number":113,"context_line":"    if \u0027auth_url\u0027 in plugin_opts and options.auth and \\"},{"line_number":114,"context_line":"            not options.auth.get(\u0027auth_url\u0027):"},{"line_number":115,"context_line":"        msgs.append(_("},{"line_number":116,"context_line":"            \u0027Set an authentication URL, with --os-auth-url,\u0027"},{"line_number":117,"context_line":"            \u0027 OS_AUTH_URL or auth.auth_url\u0027"},{"line_number":118,"context_line":"        ))"},{"line_number":119,"context_line":"    if \u0027url\u0027 in plugin_opts and options.auth and not options.auth.get(\u0027url\u0027):"},{"line_number":120,"context_line":"        msgs.append(_("},{"line_number":121,"context_line":"            \u0027Set a service URL, with --os-url, OS_URL or auth.url\u0027"},{"line_number":122,"context_line":"        ))"},{"line_number":123,"context_line":"    if \u0027token\u0027 in plugin_opts and options.auth and \\"},{"line_number":124,"context_line":"            not options.auth.get(\u0027token\u0027):"},{"line_number":125,"context_line":"        msgs.append(_("},{"line_number":126,"context_line":"            \u0027Set a token with --os-token, OS_TOKEN or auth.token\u0027"},{"line_number":127,"context_line":"        ))"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    if msgs:"},{"line_number":130,"context_line":"        raise exc.CommandError("}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_4c14354c","line":127,"range":{"start_line":107,"start_character":0,"end_line":127,"end_character":10},"updated":"2016-09-13 11:19:14.000000000","message":"You could wrap these under \"else:\" to avoid having to change each if statement.","commit_id":"0de8df90e071808b01165926c9cf27cf5edf9214"},{"author":{"_account_id":15950,"name":"Ukesh Kumar","email":"ukeshkumar@gmail.com","username":"ukeshkumar"},"change_message_id":"71f8c6120ae16f8a270e30176127e01238651f07","unresolved":false,"context_lines":[{"line_number":104,"context_line":"        msgs.append(_("},{"line_number":105,"context_line":"            \u0027Set a cloud-name with --os-cloud or OS_CLOUD\u0027"},{"line_number":106,"context_line":"        ))"},{"line_number":107,"context_line":"    if \u0027password\u0027 in plugin_opts and options.auth and \\"},{"line_number":108,"context_line":"            not options.auth.get(\u0027username\u0027):"},{"line_number":109,"context_line":"        msgs.append(_("},{"line_number":110,"context_line":"            \u0027Set a username with --os-username, OS_USERNAME,\u0027"},{"line_number":111,"context_line":"            \u0027 or auth.username\u0027"},{"line_number":112,"context_line":"        ))"},{"line_number":113,"context_line":"    if \u0027auth_url\u0027 in plugin_opts and options.auth and \\"},{"line_number":114,"context_line":"            not options.auth.get(\u0027auth_url\u0027):"},{"line_number":115,"context_line":"        msgs.append(_("},{"line_number":116,"context_line":"            \u0027Set an authentication URL, with --os-auth-url,\u0027"},{"line_number":117,"context_line":"            \u0027 OS_AUTH_URL or auth.auth_url\u0027"},{"line_number":118,"context_line":"        ))"},{"line_number":119,"context_line":"    if \u0027url\u0027 in plugin_opts and options.auth and not options.auth.get(\u0027url\u0027):"},{"line_number":120,"context_line":"        msgs.append(_("},{"line_number":121,"context_line":"            \u0027Set a service URL, with --os-url, OS_URL or auth.url\u0027"},{"line_number":122,"context_line":"        ))"},{"line_number":123,"context_line":"    if \u0027token\u0027 in plugin_opts and options.auth and \\"},{"line_number":124,"context_line":"            not options.auth.get(\u0027token\u0027):"},{"line_number":125,"context_line":"        msgs.append(_("},{"line_number":126,"context_line":"            \u0027Set a token with --os-token, OS_TOKEN or auth.token\u0027"},{"line_number":127,"context_line":"        ))"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    if msgs:"},{"line_number":130,"context_line":"        raise exc.CommandError("}],"source_content_type":"text/x-python","patch_set":2,"id":"9a89bdaa_29da7e4b","line":127,"range":{"start_line":107,"start_character":0,"end_line":127,"end_character":10},"in_reply_to":"9a89bdaa_4c14354c","updated":"2016-09-13 12:08:40.000000000","message":"Done","commit_id":"0de8df90e071808b01165926c9cf27cf5edf9214"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"e6a0fb518b8c7f4a429f0f9b01ca608fcd8ad36c","unresolved":false,"context_lines":[{"line_number":99,"context_line":"    # \"NoMatchingPlugin: The plugin foobar could not be found\""},{"line_number":100,"context_line":"    msgs \u003d []"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"    # when not auth params are passed in, user advised to use os-cloud"},{"line_number":103,"context_line":"    if not options.auth:"},{"line_number":104,"context_line":"        msgs.append(_("},{"line_number":105,"context_line":"            \u0027Set a cloud-name with --os-cloud or OS_CLOUD\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a89bdaa_30849b09","line":102,"range":{"start_line":102,"start_character":11,"end_line":102,"end_character":14},"updated":"2016-09-13 13:12:29.000000000","message":"no*","commit_id":"e4f47de9f6d31d03622763ff5f84da810b9c3651"},{"author":{"_account_id":15950,"name":"Ukesh Kumar","email":"ukeshkumar@gmail.com","username":"ukeshkumar"},"change_message_id":"c07949b3bed25815c4546a31adf229e06730aa5d","unresolved":false,"context_lines":[{"line_number":99,"context_line":"    # \"NoMatchingPlugin: The plugin foobar could not be found\""},{"line_number":100,"context_line":"    msgs \u003d []"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"    # when not auth params are passed in, user advised to use os-cloud"},{"line_number":103,"context_line":"    if not options.auth:"},{"line_number":104,"context_line":"        msgs.append(_("},{"line_number":105,"context_line":"            \u0027Set a cloud-name with --os-cloud or OS_CLOUD\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a89bdaa_8a07f316","line":102,"range":{"start_line":102,"start_character":11,"end_line":102,"end_character":14},"in_reply_to":"9a89bdaa_30849b09","updated":"2016-09-13 13:42:42.000000000","message":"Done","commit_id":"e4f47de9f6d31d03622763ff5f84da810b9c3651"}]}
