)]}'
{"neutron/agent/linux/iptables_manager.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"a347e0cfac6b9c7111015d4a86383870d8383e69","unresolved":false,"context_lines":[{"line_number":462,"context_line":"            if match_str in s:"},{"line_number":463,"context_line":"                return s"},{"line_number":464,"context_line":""},{"line_number":465,"context_line":"    def _modify_rules(self, current_lines, table, table_name):"},{"line_number":466,"context_line":"        if not current_lines:"},{"line_number":467,"context_line":"            fake_table \u003d [\u0027# Generated by iptables_manager\u0027,"},{"line_number":468,"context_line":"                          \u0027*\u0027 + table_name, \u0027COMMIT\u0027,"}],"source_content_type":"text/x-python","patch_set":5,"id":"baa201ad_55a7e5a6","line":465,"updated":"2014-10-16 13:02:45.000000000","message":"Can you add some doctext to the function, explaining what does it do, what does it return, and what are the parameters exactly?.\n\nI\u0027m unfamiliar with this code and that\u0027d ease review process.","commit_id":"98e2ae07a801c7cb75b84b45fcfa62e865d22a5e"},{"author":{"_account_id":2711,"name":"Zhang Hua","display_name":"Zhang Hua","email":"joshua.zhang@canonical.com","username":"zhhuabj"},"change_message_id":"89a8dbbafaa026df0b7c1536d6ea64052a7285ea","unresolved":false,"context_lines":[{"line_number":474,"context_line":"            if line.startswith(\u0027:\u0027):"},{"line_number":475,"context_line":"                # it\u0027s a chain, for example, \":neutron-billing - [0:0]\""},{"line_number":476,"context_line":"                line \u003d line.split(\u0027:\u0027)[1]"},{"line_number":477,"context_line":"                line \u003d line.split(\u0027 - [\u0027, 1)[0]"},{"line_number":478,"context_line":"            elif line.startswith(\u0027[\u0027):"},{"line_number":479,"context_line":"                # it\u0027s a rule, for example, \"[0:0] -A neutron-billing...\""},{"line_number":480,"context_line":"                line \u003d line.split(\u0027] \u0027, 1)[1]"}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_dd08a8db","line":477,"updated":"2014-08-27 14:34:41.000000000","message":"Of course, this has nothing to do with your patch. seems that the built-in chain use \u0027[\u0027 rather than \u0027 -  [\u0027, for instance:\n:INPUT ACCEPT [0:0]\n:neutron-openvswi-OUTPUT - [0:0]","commit_id":"98e2ae07a801c7cb75b84b45fcfa62e865d22a5e"},{"author":{"_account_id":2711,"name":"Zhang Hua","display_name":"Zhang Hua","email":"joshua.zhang@canonical.com","username":"zhhuabj"},"change_message_id":"89a8dbbafaa026df0b7c1536d6ea64052a7285ea","unresolved":false,"context_lines":[{"line_number":494,"context_line":"             for s in current_lines[rule_index:len(current_lines) - 2]]"},{"line_number":495,"context_line":"        rule_lines.sort(key\u003dlambda e: e[0])"},{"line_number":496,"context_line":""},{"line_number":497,"context_line":"        all_chains \u003d [\u0027%s\u0027 % e for e in table.unwrapped_chains] + \\"},{"line_number":498,"context_line":"                     [\u0027%s-%s\u0027 % (self.wrap_name, e) for e in table.chains]"},{"line_number":499,"context_line":""},{"line_number":500,"context_line":"        # Get sorted chain list from in-memory table"}],"source_content_type":"text/x-python","patch_set":5,"id":"1abeadc6_da07ce7f","line":497,"updated":"2014-08-27 14:34:41.000000000","message":"for all \u0027\\\u0027, pls make sure don\u0027t use it","commit_id":"98e2ae07a801c7cb75b84b45fcfa62e865d22a5e"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"825c5d2f9ce8d91ed06d9944fcb42c2264322204","unresolved":false,"context_lines":[{"line_number":583,"context_line":"                # The rule string which is in the iptables-save output"},{"line_number":584,"context_line":"                # is not in the in-memory table."},{"line_number":585,"context_line":"                e \u003d rule_lines.pop(0)"},{"line_number":586,"context_line":"                rule_output.append((max_index, e[1]))"},{"line_number":587,"context_line":"            else:"},{"line_number":588,"context_line":"                # The rule string which is in the iptables-save output"},{"line_number":589,"context_line":"                # is also in the iptables-save output."}],"source_content_type":"text/x-python","patch_set":5,"id":"5a890539_bac10850","line":586,"updated":"2014-12-02 18:22:59.000000000","message":"apparently this line is not needed. otherwise sg rule removal will not be possible","commit_id":"98e2ae07a801c7cb75b84b45fcfa62e865d22a5e"}]}
