)]}'
{"ceilometer/messaging.py":[{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"ba2d3da65de76a4c84220bbee367e8af147111e6","unresolved":false,"context_lines":[{"line_number":67,"context_line":"def get_transport(url\u003dNone, optional\u003dFalse, cache\u003dTrue):"},{"line_number":68,"context_line":"    \"\"\"Initialise the oslo.messaging layer.\"\"\""},{"line_number":69,"context_line":"    global TRANSPORTS, DEFAULT_URL"},{"line_number":70,"context_line":"    transport \u003d TRANSPORTS.get(url or DEFAULT_URL)"},{"line_number":71,"context_line":"    if not transport or not cache:"},{"line_number":72,"context_line":"        try:"},{"line_number":73,"context_line":"            transport \u003d oslo.messaging.get_transport(cfg.CONF, url,"}],"source_content_type":"text/x-python","patch_set":3,"id":"1ae5cdf2_f3a878db","line":70,"updated":"2014-06-17 09:22:49.000000000","message":"Maybe simplify by using the logical or construction just once?\n\ne.g.\n\n  actual_url \u003d url or DEFAULT_URL\n  transport \u003d TRANSPORTS.get(actual_url)\n\n  ...\n      if cache:\n          TRANSPORTS[actual_url] \u003d transport","commit_id":"855028959325132ce1578e00ce09183843818a4d"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"8fa99be4f1013768eed0dba59c1ba928a2667ab3","unresolved":false,"context_lines":[{"line_number":67,"context_line":"def get_transport(url\u003dNone, optional\u003dFalse, cache\u003dTrue):"},{"line_number":68,"context_line":"    \"\"\"Initialise the oslo.messaging layer.\"\"\""},{"line_number":69,"context_line":"    global TRANSPORTS, DEFAULT_URL"},{"line_number":70,"context_line":"    transport \u003d TRANSPORTS.get(url or DEFAULT_URL)"},{"line_number":71,"context_line":"    if not transport or not cache:"},{"line_number":72,"context_line":"        try:"},{"line_number":73,"context_line":"            transport \u003d oslo.messaging.get_transport(cfg.CONF, url,"}],"source_content_type":"text/x-python","patch_set":3,"id":"1ae5cdf2_53620c17","line":70,"in_reply_to":"1ae5cdf2_f3a878db","updated":"2014-06-17 09:38:58.000000000","message":"Done","commit_id":"855028959325132ce1578e00ce09183843818a4d"}]}
