)]}'
{"gnocchi/ceilometer/dispatcher.py":[{"author":{"_account_id":10987,"name":"Igor Degtiarov","username":"tovstun","inactive":true},"change_message_id":"a3a1d331541795db3b57d2dff202bf7b32af5cd7","unresolved":false,"context_lines":[{"line_number":155,"context_line":"        return config_file"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    def _match_metric(self, metric_name):"},{"line_number":158,"context_line":"        for metric, policy in self.gnocchi_archive_policy_data.items():"},{"line_number":159,"context_line":"            # Support wild cards such as disk.*"},{"line_number":160,"context_line":"            if fnmatch.fnmatch(metric_name, metric):"},{"line_number":161,"context_line":"                return policy"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a016987_fb99e5c4","line":158,"updated":"2015-05-22 10:29:56.000000000","message":"It seems that iterator is better to use here that items() method.","commit_id":"2e1a8a2a3c62e5664fd9ad8b75476ebb42164f37"},{"author":{"_account_id":10987,"name":"Igor Degtiarov","username":"tovstun","inactive":true},"change_message_id":"9614e21ce93a3ec348246c879efe0e310376cbf1","unresolved":false,"context_lines":[{"line_number":135,"context_line":"    def get_archive_policy(self, metric_name):"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"        archive_policy \u003d {}"},{"line_number":138,"context_line":"        if self.gnocchi_archive_policy_data:"},{"line_number":139,"context_line":"            policy_match \u003d self._match_metric(metric_name)"},{"line_number":140,"context_line":"            archive_policy[\u0027archive_policy_name\u0027] \u003d ("},{"line_number":141,"context_line":"                policy_match or self.gnocchi_archive_policy_default)"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a016987_8580038d","line":138,"updated":"2015-05-26 14:54:40.000000000","message":"could you please clarify why do we need that string to be changed?","commit_id":"182af97876d92e560e5fce3a01bf3278f3d75314"}]}
