)]}'
{"blazar/utils/openstack/exceptions.py":[{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"ef70283ddc864ea7d14511cfcb2abfb63c4e2ffa","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2013 Bull."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":8,"id":"5f7c97a3_bddf9a09","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":26},"updated":"2018-07-17 10:15:35.000000000","message":"Copyright line doesn\u0027t seem right.","commit_id":"f5b57a8973fa3bd5d541d54060d6d268914f9df9"}],"blazar/utils/openstack/placement.py":[{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"1566e9ce0a73df5a71914677ccf49e963c9ba52c","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        \"\"\""},{"line_number":104,"context_line":"        url \u003d \"/resource_providers?name\u003d%s\" % rp_name"},{"line_number":105,"context_line":"        resp \u003d self.get(url)"},{"line_number":106,"context_line":"        if resp:"},{"line_number":107,"context_line":"            return resp.json()"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        msg \u003d (\"Failed to get resource provider %(name)s. \""},{"line_number":110,"context_line":"               \"Got %(status_code)d: %(err_text)s.\")"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_41770590","line":107,"range":{"start_line":106,"start_character":0,"end_line":107,"end_character":30},"updated":"2018-07-23 05:47:25.000000000","message":"I imagine the GET_resource_provider() returns resource provider  object[1], not a list of resource providers.  The caller of this method always needs to get a first element in the list.\n\n1. https://developer.openstack.org/api-ref/placement/#id6","commit_id":"96806343692b826ec62cf61c68c3df0d9712e2f1"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"e9cca2597e7041d93b55014b2d6d529d904d8a76","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        \"\"\""},{"line_number":104,"context_line":"        url \u003d \"/resource_providers?name\u003d%s\" % rp_name"},{"line_number":105,"context_line":"        resp \u003d self.get(url)"},{"line_number":106,"context_line":"        if resp:"},{"line_number":107,"context_line":"            return resp.json()"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        msg \u003d (\"Failed to get resource provider %(name)s. \""},{"line_number":110,"context_line":"               \"Got %(status_code)d: %(err_text)s.\")"}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_a1d13931","line":107,"range":{"start_line":106,"start_character":0,"end_line":107,"end_character":30},"in_reply_to":"5f7c97a3_41770590","updated":"2018-07-23 05:59:10.000000000","message":"Yup, very fair point. Thanks. Will fix.","commit_id":"96806343692b826ec62cf61c68c3df0d9712e2f1"}]}
