)]}'
{"nova/virt/vmwareapi/driver.py":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"254110ed2c1b2178e7708f4635183814f5df4872","unresolved":false,"context_lines":[{"line_number":285,"context_line":"                        \u0027configuration\u0027, instance\u003dinstance)"},{"line_number":286,"context_line":"            return b\"\""},{"line_number":287,"context_line":"        read_log_data, remaining \u003d nova.privsep.path.last_bytes("},{"line_number":288,"context_line":"            path, MAX_CONSOLE_BYTES)"},{"line_number":289,"context_line":"        return read_log_data"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"    def _get_vcenter_uuid(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"df7087c5_013b299c","line":288,"updated":"2018-03-19 18:19:36.000000000","message":"Yeah, we don\u0027t need to pass FILE as path of last_bytes() which is opened again internally..\n\n 95 @nova.privsep.sys_admin_pctxt.entrypoint\n 96 def last_bytes(path, num):\n 97     # NOTE(mikal): this is implemented in this contrived manner because you\n 98     # can\u0027t mock a decorator in python (they\u0027re loaded at file parse time,\n 99     # and the mock happens later).\n100     with open(path, \u0027rb\u0027) as f:\n101         return _last_bytes_inner(f, num)","commit_id":"87a6bb4184efb0e7da2d8a7ad7f189a3bc4cf03e"}]}
