)]}'
{"ironic/api/controllers/v1/utils.py":[{"author":{"_account_id":7711,"name":"Yuriy Zveryanskyy","email":"yzveryanskyy@mirantis.com","username":"yuriyz"},"change_message_id":"e3ed7c7782b5b7aa34af67e85e90709d7a20ff53","unresolved":false,"context_lines":[{"line_number":44,"context_line":"def apply_jsonpatch(doc, patch):"},{"line_number":45,"context_line":"    for p in patch:"},{"line_number":46,"context_line":"        if p[\u0027op\u0027] \u003d\u003d \u0027add\u0027 and p[\u0027path\u0027].count(\u0027/\u0027) \u003d\u003d 1:"},{"line_number":47,"context_line":"            if p[\u0027path\u0027].replace(\u0027/\u0027, \u0027\u0027) not in doc.keys():"},{"line_number":48,"context_line":"                msg \u003d _(\u0027Adding a new attribute (%s) to the root of \u0027"},{"line_number":49,"context_line":"                        \u0027 the resource is not allowed\u0027)"},{"line_number":50,"context_line":"                raise wsme.exc.ClientSideError(msg % p[\u0027path\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAW3%2F%2F5tI%3D","line":47,"updated":"2014-04-09 15:48:20.000000000","message":"if p[\u0027path\u0027].lstrip(\u0027/\u0027) not in doc:","commit_id":"c9e7591bf6bef9367a9de4d7a441da0190bfea20"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"1c62b43f1cbeed14f53022bb45826598c994e031","unresolved":false,"context_lines":[{"line_number":44,"context_line":"def apply_jsonpatch(doc, patch):"},{"line_number":45,"context_line":"    for p in patch:"},{"line_number":46,"context_line":"        if p[\u0027op\u0027] \u003d\u003d \u0027add\u0027 and p[\u0027path\u0027].count(\u0027/\u0027) \u003d\u003d 1:"},{"line_number":47,"context_line":"            if p[\u0027path\u0027].replace(\u0027/\u0027, \u0027\u0027) not in doc.keys():"},{"line_number":48,"context_line":"                msg \u003d _(\u0027Adding a new attribute (%s) to the root of \u0027"},{"line_number":49,"context_line":"                        \u0027 the resource is not allowed\u0027)"},{"line_number":50,"context_line":"                raise wsme.exc.ClientSideError(msg % p[\u0027path\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAW3%2F%2F5lw%3D","line":47,"in_reply_to":"AAAAW3%2F%2F5tI%3D","updated":"2014-04-09 15:57:41.000000000","message":"Thanks for the suggestion, will fix it","commit_id":"c9e7591bf6bef9367a9de4d7a441da0190bfea20"}]}
