)]}'
{"nova/virt/libvirt/driver.py":[{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"16ba46bc86c280f8efad4786e8c112f4f7aaecc7","unresolved":false,"context_lines":[{"line_number":5526,"context_line":"            raise exception.RequestedVRamTooHigh(req_vram\u003dvideo_ram,"},{"line_number":5527,"context_line":"                                                 max_vram\u003dmax_vram)"},{"line_number":5528,"context_line":"        if max_vram and video_ram:"},{"line_number":5529,"context_line":"            video.vram \u003d video_ram * units.Mi // units.Ki"},{"line_number":5530,"context_line":"        guest.add_device(video)"},{"line_number":5531,"context_line":""},{"line_number":5532,"context_line":"        # NOTE(sean-k-mooney): return the video device we added"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f560f44_6a688787","line":5529,"updated":"2020-09-21 15:38:59.000000000","message":"yup, this does work on both py2 and py3 (you want to get the rounded integer, not the result)","commit_id":"d7bc475caeed7ac1c792587d345c9228604eeeac"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"75c224237f1d4f5d47034a50326f34ab93ce8d81","unresolved":false,"context_lines":[{"line_number":5526,"context_line":"            raise exception.RequestedVRamTooHigh(req_vram\u003dvideo_ram,"},{"line_number":5527,"context_line":"                                                 max_vram\u003dmax_vram)"},{"line_number":5528,"context_line":"        if max_vram and video_ram:"},{"line_number":5529,"context_line":"            video.vram \u003d video_ram * units.Mi // units.Ki"},{"line_number":5530,"context_line":"        guest.add_device(video)"},{"line_number":5531,"context_line":""},{"line_number":5532,"context_line":"        # NOTE(sean-k-mooney): return the video device we added"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_2a87afb8","line":5529,"updated":"2020-09-21 16:03:46.000000000","message":"as I said earlier in PS1, this does work on both py2 and py3","commit_id":"2b3412c73f257f21a02d1f8f7c291035b04bd711"}]}
