)]}'
{"novaclient/v2/servers.py":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"12f9315e997cbe18d17069f873dbfa4198497477","unresolved":false,"context_lines":[{"line_number":407,"context_line":"        networks \u003d collections.OrderedDict()"},{"line_number":408,"context_line":"        try:"},{"line_number":409,"context_line":"            # Sort the keys by network name in natural (ascending) order."},{"line_number":410,"context_line":"            network_labels \u003d sorted(self.addresses.keys())"},{"line_number":411,"context_line":"            for network_label in network_labels:"},{"line_number":412,"context_line":"                address_list \u003d self.addresses[network_label]"},{"line_number":413,"context_line":"                networks[network_label] \u003d [a[\u0027addr\u0027] for a in address_list]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_921c44c2","line":410,"updated":"2019-02-20 17:43:39.000000000","message":"I tend to like sorting .items():\n\n    for network_label, address_list in sorted(self.addresses.items(), key\u003dlambda x: x[0]):\n        …\n\nBut either way will work.","commit_id":"874b03068f1682cb0fe94d59f64e858b1514308d"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"47f717ab32758aff035e7f27d1c468ffb814c096","unresolved":false,"context_lines":[{"line_number":407,"context_line":"        networks \u003d collections.OrderedDict()"},{"line_number":408,"context_line":"        try:"},{"line_number":409,"context_line":"            # Sort the keys by network name in natural (ascending) order."},{"line_number":410,"context_line":"            network_labels \u003d sorted(self.addresses.keys())"},{"line_number":411,"context_line":"            for network_label in network_labels:"},{"line_number":412,"context_line":"                address_list \u003d self.addresses[network_label]"},{"line_number":413,"context_line":"                networks[network_label] \u003d [a[\u0027addr\u0027] for a in address_list]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_26351da9","line":410,"in_reply_to":"9fdfeff1_322f98a8","updated":"2019-02-20 18:10:21.000000000","message":"*shrug* then we disagree.  No worries; I\u0027m still +2 :)","commit_id":"874b03068f1682cb0fe94d59f64e858b1514308d"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"65a72a083c9c87cb487a759e9944d03098ce3469","unresolved":false,"context_lines":[{"line_number":407,"context_line":"        networks \u003d collections.OrderedDict()"},{"line_number":408,"context_line":"        try:"},{"line_number":409,"context_line":"            # Sort the keys by network name in natural (ascending) order."},{"line_number":410,"context_line":"            network_labels \u003d sorted(self.addresses.keys())"},{"line_number":411,"context_line":"            for network_label in network_labels:"},{"line_number":412,"context_line":"                address_list \u003d self.addresses[network_label]"},{"line_number":413,"context_line":"                networks[network_label] \u003d [a[\u0027addr\u0027] for a in address_list]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_322f98a8","line":410,"in_reply_to":"9fdfeff1_921c44c2","updated":"2019-02-20 17:52:41.000000000","message":"I think it\u0027s more confusing to have to pass a lambda to the sort - it\u0027s just too tricky.","commit_id":"874b03068f1682cb0fe94d59f64e858b1514308d"}]}
