)]}'
{"designate/api/v1/records.py":[{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"2c1cd8f033906aed1505f0a306e616b7481bc2d2","unresolved":false,"context_lines":[{"line_number":72,"context_line":"    if recordset.type in (\u0027MX\u0027, \u0027SRV\u0027):"},{"line_number":73,"context_line":"        priority, _, data \u003d record[\u0027data\u0027].partition(\u0027 \u0027)"},{"line_number":74,"context_line":"        record[\u0027priority\u0027] \u003d int(priority)"},{"line_number":75,"context_line":"        record[\u0027data\u0027] \u003d data"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    record.update({"},{"line_number":78,"context_line":"        \u0027name\u0027: recordset[\u0027name\u0027],"}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa7fdbe_5a951331","line":75,"updated":"2014-10-28 17:35:51.000000000","message":"I\u0027m seeing this code used in a bunch of different places, can we extract to a method on it\u0027s own.. e.g.:\n\n     priority, data \u003d utils.extract_priority_from_data(data)","commit_id":"7d6289e66a879ce380c0ed7ba7e58e732fa3a34a"}],"designate/backend/impl_powerdns/__init__.py":[{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"2c1cd8f033906aed1505f0a306e616b7481bc2d2","unresolved":false,"context_lines":[{"line_number":357,"context_line":"        data \u003d record[\u0027data\u0027]"},{"line_number":358,"context_line":"        if recordset[\u0027type\u0027] in (\u0027MX\u0027, \u0027SRV\u0027):"},{"line_number":359,"context_line":"            priority, _, data \u003d record[\u0027data\u0027].partition(\" \")"},{"line_number":360,"context_line":"            priority \u003d int(priority)"},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"        content \u003d self._sanitize_content(recordset[\u0027type\u0027], data)"},{"line_number":363,"context_line":"        ttl \u003d domain[\u0027ttl\u0027] if recordset[\u0027ttl\u0027] is None else recordset[\u0027ttl\u0027]"}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa7fdbe_bacc3f6b","line":360,"updated":"2014-10-28 17:35:51.000000000","message":"See comment in designate/api/v1/records.py re a new utils method for this.","commit_id":"7d6289e66a879ce380c0ed7ba7e58e732fa3a34a"}],"designate/mdns/handler.py":[{"author":{"_account_id":741,"name":"Kiall Mac Innes","email":"kiall@macinnes.ie","username":"kiall"},"change_message_id":"2c1cd8f033906aed1505f0a306e616b7481bc2d2","unresolved":false,"context_lines":[{"line_number":91,"context_line":"            if recordset.type \u003d\u003d \"MX\" or recordset.type \u003d\u003d \"SRV\":"},{"line_number":92,"context_line":"                rdata.append(str.format(\"%s\" % str(record.data)))"},{"line_number":93,"context_line":"            else:"},{"line_number":94,"context_line":"                rdata.append(str(record.data))"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        # Now put the records into dnspython\u0027s RRsets"},{"line_number":97,"context_line":"        # answer section has 1 RR set.  If the RR set has multiple"}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa7fdbe_7a25775a","line":94,"updated":"2014-10-28 17:35:51.000000000","message":"The if/else here can be dropped.. it only existed in the past to deal with the priority weirdness","commit_id":"7d6289e66a879ce380c0ed7ba7e58e732fa3a34a"},{"author":{"_account_id":8094,"name":"Vinod Mangalpally","email":"mrvinod@outlook.com","username":"vinodmr"},"change_message_id":"359a5df46f9a0f4983e9cf153c833bf3324ebe62","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        for record in recordset.records:"},{"line_number":88,"context_line":"            # dnspython expects data to be a string. convert record"},{"line_number":89,"context_line":"            # data from unicode to string"},{"line_number":90,"context_line":"            # For MX and SRV records add a priority field."},{"line_number":91,"context_line":"            rdata.append(str(record.data))"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        # Now put the records into dnspython\u0027s RRsets"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aa7fdbe_b83e02b6","line":90,"updated":"2014-10-28 20:54:16.000000000","message":"Could you remove the above comment?","commit_id":"67d9050b6493bda47ba12164b25b7e193dc441b7"}]}
