)]}'
{"nova/compute/instance_list.py":[{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"60ca8d1cc9f48060dfa0844977a509c9a99e3c75","unresolved":false,"context_lines":[{"line_number":55,"context_line":"    This iterates cells in parallel generating a unified and sorted"},{"line_number":56,"context_line":"    list of instances as efficiently as possible. It takes care to"},{"line_number":57,"context_line":"    iterate the list as infrequently as possible. We wrap the results"},{"line_number":58,"context_line":"    in InstanceWrapper objects so that they are sortable by"},{"line_number":59,"context_line":"    heapq.merge(), which requires that the \u0027\u003c\u0027 operator just works. We"},{"line_number":60,"context_line":"    encapsulate our sorting requirements into an InstanceSortContext"},{"line_number":61,"context_line":"    which we pass to all of the wrappers so they behave the way we"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f485f77_dc0d233f","line":58,"range":{"start_line":58,"start_character":6,"end_line":58,"end_character":22},"updated":"2017-11-13 02:45:52.000000000","message":"what about this?","commit_id":"729d071e3819ce49ba54fc6c7deb18a5c44bf7ed"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"60ca8d1cc9f48060dfa0844977a509c9a99e3c75","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    iterate the list as infrequently as possible. We wrap the results"},{"line_number":58,"context_line":"    in InstanceWrapper objects so that they are sortable by"},{"line_number":59,"context_line":"    heapq.merge(), which requires that the \u0027\u003c\u0027 operator just works. We"},{"line_number":60,"context_line":"    encapsulate our sorting requirements into an InstanceSortContext"},{"line_number":61,"context_line":"    which we pass to all of the wrappers so they behave the way we"},{"line_number":62,"context_line":"    want."},{"line_number":63,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1f485f77_bc0a6723","line":60,"range":{"start_line":60,"start_character":48,"end_line":60,"end_character":68},"updated":"2017-11-13 02:45:52.000000000","message":"ditto","commit_id":"729d071e3819ce49ba54fc6c7deb18a5c44bf7ed"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"693a6bf2fc63e6f7678f7920b0c9803519b61318","unresolved":false,"context_lines":[{"line_number":15,"context_line":"import itertools"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from nova.compute.utils import ObjectSortContext"},{"line_number":18,"context_line":"from nova.compute.utils import ObjectWrapper"},{"line_number":19,"context_line":"from nova import context"},{"line_number":20,"context_line":"from nova import db"},{"line_number":21,"context_line":"from nova import exception"}],"source_content_type":"text/x-python","patch_set":16,"id":"ff82abbf_4c33c063","line":18,"updated":"2017-11-30 15:48:24.000000000","message":"Import modules only","commit_id":"6b691b1a2e9d4ead472009db52121715cbfd6380"}],"nova/compute/utils.py":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"693a6bf2fc63e6f7678f7920b0c9803519b61318","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        \"\"\""},{"line_number":63,"context_line":"        for skey, sdir in zip(self._sort_keys, self._sort_dirs):"},{"line_number":64,"context_line":"            resultflag \u003d 1 if sdir \u003d\u003d \u0027desc\u0027 else -1"},{"line_number":65,"context_line":"            if obj1[skey] \u003c obj2[skey]:"},{"line_number":66,"context_line":"                return resultflag"},{"line_number":67,"context_line":"            elif obj1[skey] \u003e obj2[skey]:"},{"line_number":68,"context_line":"                return resultflag * -1"}],"source_content_type":"text/x-python","patch_set":16,"id":"ff82abbf_4c8180c3","line":65,"updated":"2017-11-30 15:48:24.000000000","message":"This isn\u0027t very generic as it will only work for legacy objects that support  dict-like syntax. That wasn\u0027t a problem when it was called InstanceSortContext of course.","commit_id":"6b691b1a2e9d4ead472009db52121715cbfd6380"}]}
