)]}'
{"nova/virt/vmwareapi/vmops.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"40adff05c626bbff38b259131c46365848af327f","unresolved":false,"context_lines":[{"line_number":1636,"context_line":"            self._datastore_browser_mapping[ds_ref.value] \u003d ds_browser"},{"line_number":1637,"context_line":"        return ds_browser"},{"line_number":1638,"context_line":""},{"line_number":1639,"context_line":"    def _get_host_ref_from_name(self, host_name):"},{"line_number":1640,"context_line":"        \"\"\"Get reference to the host with the name specified.\"\"\""},{"line_number":1641,"context_line":"        host_objs \u003d self._session._call_method(vim_util, \"get_objects\","},{"line_number":1642,"context_line":"                    \"HostSystem\", [\"name\"])"},{"line_number":1643,"context_line":"        for host in host_objs:"},{"line_number":1644,"context_line":"            if hasattr(host, \u0027propSet\u0027):"},{"line_number":1645,"context_line":"                if host.propSet[0].val \u003d\u003d host_name:"},{"line_number":1646,"context_line":"                    return host.obj"},{"line_number":1647,"context_line":"        return None"},{"line_number":1648,"context_line":""},{"line_number":1649,"context_line":"    def _create_folder_if_missing(self, ds_name, ds_ref, folder):"},{"line_number":1650,"context_line":"        \"\"\"Create a folder if it does not exist."}],"source_content_type":"text/x-python","patch_set":1,"id":"9f5c4f37_51cb6d52","line":1647,"range":{"start_line":1639,"start_character":0,"end_line":1647,"end_character":19},"updated":"2017-09-21 16:27:53.000000000","message":"This whole function can go - there does not appear to be any  callers:\n\n  $ ag _get_host_ref_from_name\n  nova/virt/vmwareapi/vmops.py\n  1639:    def _get_host_ref_from_name(self, host_name):","commit_id":"2dccde3ccceaa26632801252999e1af07b167eae"}]}
