)]}'
{"neutron/services/grouppolicy/group_policy_driver_api.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7fa7d00d704b836c4b865178a41d0c841998d8a1","unresolved":false,"context_lines":[{"line_number":136,"context_line":"class PolicyClassifierContext(object):"},{"line_number":137,"context_line":"    \"\"\"Context passed to policy engine for policy_classifier resource changes."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    An PolicyClassifierContext instance wraps an policy_classifier resource."},{"line_number":140,"context_line":"    It provides helper methods for accessing other relevant information."},{"line_number":141,"context_line":"    Results from expensive operations are cached for convenient access."},{"line_number":142,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"dab895d6_30c76b47","line":139,"updated":"2014-06-30 11:26:51.000000000","message":"An -\u003e A","commit_id":"e9ba21c0581e12dda3f2706131f27f8f6059b55a"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7fa7d00d704b836c4b865178a41d0c841998d8a1","unresolved":false,"context_lines":[{"line_number":156,"context_line":""},{"line_number":157,"context_line":"        Return the original state of the policy_classifier, prior to a call to"},{"line_number":158,"context_line":"        update_policy_classifier. Method is only valid within calls to"},{"line_number":159,"context_line":"        update_policy_classifier_precommit and"},{"line_number":160,"context_line":"        update_policy_classifier_postcommit."},{"line_number":161,"context_line":"        \"\"\""},{"line_number":162,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"dab895d6_30f5ab83","line":159,"updated":"2014-06-30 11:26:51.000000000","message":"Nit: Join this and next line.","commit_id":"e9ba21c0581e12dda3f2706131f27f8f6059b55a"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7fa7d00d704b836c4b865178a41d0c841998d8a1","unresolved":false,"context_lines":[{"line_number":166,"context_line":"class PolicyActionContext(object):"},{"line_number":167,"context_line":"    \"\"\"Context passed to policy engine for policy_action resource changes."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    An PolicyActionContext instance wraps an policy_action resource."},{"line_number":170,"context_line":"    It provides helper methods for accessing other relevant information."},{"line_number":171,"context_line":"    Results from expensive operations are cached for convenient access."},{"line_number":172,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"dab895d6_f0ec13ca","line":169,"updated":"2014-06-30 11:26:51.000000000","message":"An -\u003e A","commit_id":"e9ba21c0581e12dda3f2706131f27f8f6059b55a"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7fa7d00d704b836c4b865178a41d0c841998d8a1","unresolved":false,"context_lines":[{"line_number":195,"context_line":"class PolicyRuleContext(object):"},{"line_number":196,"context_line":"    \"\"\"Context passed to policy engine for policy_rule resource changes."},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"    An PolicyRuleContext instance wraps an policy_rule resource."},{"line_number":199,"context_line":"    It provides helper methods for accessing other relevant information."},{"line_number":200,"context_line":"    Results from expensive operations are cached for convenient access."},{"line_number":201,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"dab895d6_9004b77f","line":198,"updated":"2014-06-30 11:26:51.000000000","message":"An -\u003e A","commit_id":"e9ba21c0581e12dda3f2706131f27f8f6059b55a"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7fa7d00d704b836c4b865178a41d0c841998d8a1","unresolved":false,"context_lines":[{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        Return the original state of the policy_rule, prior to a call to"},{"line_number":217,"context_line":"        update_policy_rule. Method is only valid within calls to"},{"line_number":218,"context_line":"        update_policy_rule_precommit and"},{"line_number":219,"context_line":"        update_policy_rule_postcommit."},{"line_number":220,"context_line":"        \"\"\""},{"line_number":221,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"dab895d6_f0033371","line":218,"updated":"2014-06-30 11:26:51.000000000","message":"nit: join this and next line.","commit_id":"e9ba21c0581e12dda3f2706131f27f8f6059b55a"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7fa7d00d704b836c4b865178a41d0c841998d8a1","unresolved":false,"context_lines":[{"line_number":549,"context_line":"        \"\"\"Delete a policy_action."},{"line_number":550,"context_line":""},{"line_number":551,"context_line":"        :param context: PolicyActionContext instance describing the current"},{"line_number":552,"context_line":"        state of the policy_action, prior to the call to delete it."},{"line_number":553,"context_line":"        \"\"\""},{"line_number":554,"context_line":"        pass"},{"line_number":555,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"dab895d6_f08893e9","line":552,"updated":"2014-06-30 11:26:51.000000000","message":"Is this prior to the call?","commit_id":"e9ba21c0581e12dda3f2706131f27f8f6059b55a"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7fa7d00d704b836c4b865178a41d0c841998d8a1","unresolved":false,"context_lines":[{"line_number":599,"context_line":"        \"\"\"Delete a policy_rule."},{"line_number":600,"context_line":""},{"line_number":601,"context_line":"        :param context: PolicyRuleContext instance describing the current"},{"line_number":602,"context_line":"        state of the policy_rule, prior to the call to delete it."},{"line_number":603,"context_line":"        \"\"\""},{"line_number":604,"context_line":"        pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"dab895d6_707483fd","line":602,"updated":"2014-06-30 11:26:51.000000000","message":"prior?","commit_id":"e9ba21c0581e12dda3f2706131f27f8f6059b55a"}],"neutron/services/grouppolicy/plugin.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7fa7d00d704b836c4b865178a41d0c841998d8a1","unresolved":false,"context_lines":[{"line_number":304,"context_line":"                    context, policy_classifier)"},{"line_number":305,"context_line":"            policy_context \u003d p_context.PolicyClassifierContext(self, context,"},{"line_number":306,"context_line":"                                                               result)"},{"line_number":307,"context_line":"            self.policy_driver_manager.create_policy_classifier_precommit("},{"line_number":308,"context_line":"                policy_context)"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"dab895d6_534b0959","line":307,"updated":"2014-06-30 11:26:51.000000000","message":"Just for my education...do the precommit calls happen after the create/update/delete actions?","commit_id":"e9ba21c0581e12dda3f2706131f27f8f6059b55a"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"7fa7d00d704b836c4b865178a41d0c841998d8a1","unresolved":false,"context_lines":[{"line_number":313,"context_line":"        except gp_exc.GroupPolicyDriverError:"},{"line_number":314,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":315,"context_line":"                LOG.error(_("},{"line_number":316,"context_line":"                    \"policy_driver_manager.create_policy_classifier_postcommit\""},{"line_number":317,"context_line":"                    \" failed, deleting policy_classifier \u0027%s\u0027\"), result[\u0027id\u0027])"},{"line_number":318,"context_line":"                self.delete_policy_classifier(context, result[\u0027id\u0027])"},{"line_number":319,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"dab895d6_d0446f76","line":316,"updated":"2014-06-30 11:26:51.000000000","message":"Since this is an error message, would it be clearer to the user to use English phrase vs instance/function names? For example, \"Postcommit for creating policy classifier failed - deleting classifier \u0027%s\u0027\".\n\nDitto for other error messages in file.","commit_id":"e9ba21c0581e12dda3f2706131f27f8f6059b55a"}]}
