)]}'
{"nova/virt/vmwareapi/fake.py":[{"author":{"_account_id":9555,"name":"Matthew Booth","email":"mbooth@redhat.com","username":"MatthewBooth"},"change_message_id":"218dd3da7f318daed7c917938f42ffc565fbef4d","unresolved":false,"context_lines":[{"line_number":502,"context_line":"class Datastore(ManagedObject):"},{"line_number":503,"context_line":"    \"\"\"Datastore class.\"\"\""},{"line_number":504,"context_line":""},{"line_number":505,"context_line":"    def __init__(self, name\u003d\"fake-ds\", capacity\u003d1024, free\u003d500):"},{"line_number":506,"context_line":"        super(Datastore, self).__init__(\"ds\")"},{"line_number":507,"context_line":"        self.set(\"summary.type\", \"VMFS\")"},{"line_number":508,"context_line":"        self.set(\"summary.name\", name)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F92fw%3D","line":505,"updated":"2014-02-03 10:30:06.000000000","message":"capacity and free aren\u0027t used by this change.","commit_id":"33c77d3f60cf72f4e97a1f70ba4e1aeae27760d3"}],"nova/virt/vmwareapi/vmops.py":[{"author":{"_account_id":9555,"name":"Matthew Booth","email":"mbooth@redhat.com","username":"MatthewBooth"},"change_message_id":"218dd3da7f318daed7c917938f42ffc565fbef4d","unresolved":false,"context_lines":[{"line_number":1443,"context_line":"    def get_datacenter_ref_and_name(self, ds_ref):"},{"line_number":1444,"context_line":"        \"\"\"Get the datacenter name and the reference.\"\"\""},{"line_number":1445,"context_line":"        map \u003d self._datastore_dc_mapping.get(ds_ref.value)"},{"line_number":1446,"context_line":"        if not map:"},{"line_number":1447,"context_line":"            dc_obj \u003d self._session._call_method(vim_util, \"get_objects\","},{"line_number":1448,"context_line":"                    \"Datacenter\", [\"name\"])"},{"line_number":1449,"context_line":"            vm_util._cancel_retrieve_if_necessary(self._session, dc_obj)"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F92oo%3D","line":1446,"updated":"2014-02-03 10:30:06.000000000","message":"The map redundant here, as ds_ref isn\u0027t used in the retrieval of the datacenter. I assume this is because this isn\u0027t relevant to ESX? It could do with a comment, though.","commit_id":"33c77d3f60cf72f4e97a1f70ba4e1aeae27760d3"}]}
