)]}'
{"nova/network/quantum/nova_ipam_lib.py":[{"author":{"_account_id":385,"name":"Jason Kölker","email":"jason@koelker.net","username":"jason-koelker"},"change_message_id":"364d955507516944219eadb44bdaac142ecbdd5c","unresolved":false,"context_lines":[{"line_number":107,"context_line":"            return []"},{"line_number":108,"context_line":"        # only get networks with a project_id set"},{"line_number":109,"context_line":"        nets \u003d filter(lambda x: x[\u0027project_id\u0027] !\u003d None, nets)"},{"line_number":110,"context_line":"        return nets"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def get_project_and_global_net_ids(self, context, project_id):"},{"line_number":113,"context_line":"        \"\"\"Fetches all networks associated with this project, or"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAC3%2F%2F%2BYE%3D","line":110,"updated":"2011-12-08 16:36:02.000000000","message":"I think a list comprehension would be better here as the BDFL has expressed a desire of readability (and the negligible speedup that the list comprehension gains on CPython 2.x) so in the above:\n\nreturn [net for net in nets if net[\u0027project_id\u0027]]","commit_id":"26c4b607fffbec98c242a236ec63fd1f85bed293"}],"nova/tests/test_quantum.py":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"c90eb59c48aabff15e9d7b46463d4f7c2be1496a","unresolved":false,"context_lines":[{"line_number":214,"context_line":"            for fip_ref in result:"},{"line_number":215,"context_line":"                session.delete(fip_ref)"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"    def tearDown(self):"},{"line_number":218,"context_line":"        pass"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"    def _create_network(self, n):"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAC3%2F%2F%2BYQ%3D","line":217,"updated":"2011-12-08 16:31:28.000000000","message":"As written, this fails to call the superclass tearDown() method.  Since we\u0027re removing the local clean-up anyway, I\u0027d recommend just dropping tearDown() completely.","commit_id":"26c4b607fffbec98c242a236ec63fd1f85bed293"}]}
