)]}'
{"nova/scheduler/ironic_host_manager.py":[{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"f597bbf5a72386d20077f4ec52384c93d8ed1334","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    @staticmethod"},{"line_number":77,"context_line":"    def _is_ironic_compute(compute):"},{"line_number":78,"context_line":"        ht \u003d compute.hypervisor_type if \u0027hypervisor_type\u0027 in compute else None"},{"line_number":79,"context_line":"        return ht \u003d\u003d hv_type.IRONIC"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    def _load_filters(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba84c18e_002546aa","line":78,"updated":"2016-09-02 18:38:17.000000000","message":"Why not just: ht \u003d getattr(compute, \u0027hypervisor_type\u0027, None)\n\nOh, I see it was copied from below, but let\u0027s improve it while we\u0027re here :)","commit_id":"af218caba4f532c7d182071ab4304d49d02de08f"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"79a19bc432f81e6e58b59cb62625dbda956b87d8","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    @staticmethod"},{"line_number":77,"context_line":"    def _is_ironic_compute(compute):"},{"line_number":78,"context_line":"        ht \u003d compute.hypervisor_type if \u0027hypervisor_type\u0027 in compute else None"},{"line_number":79,"context_line":"        return ht \u003d\u003d hv_type.IRONIC"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    def _load_filters(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"9a89bdaa_58312a59","line":78,"in_reply_to":"ba84c18e_002546aa","updated":"2016-09-08 10:00:02.000000000","message":"Yeah, thats a good idea if we need a respin for some reason.","commit_id":"af218caba4f532c7d182071ab4304d49d02de08f"}]}
