Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(994)

Side by Side Diff: appengine/components/components/ereporter2/logscraper.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2013 The LUCI Authors. All rights reserved. 1 # Copyright 2013 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 """Backend functions to gather error reports.""" 5 """Backend functions to gather error reports."""
6 6
7 import collections 7 import collections
8 import hashlib 8 import hashlib
9 import logging 9 import logging
10 import os 10 import os
11 import re 11 import re
12 12
13 import webob 13 import webob
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 category.signature)) 407 category.signature))
408 if not f and category.exception_type: 408 if not f and category.exception_type:
409 f = filters.get(models.ErrorReportingMonitoring.error_to_key_id( 409 f = filters.get(models.ErrorReportingMonitoring.error_to_key_id(
410 category.exception_type)) 410 category.exception_type))
411 if _should_ignore_error_category(f, category): 411 if _should_ignore_error_category(f, category):
412 ignored.append(category) 412 ignored.append(category)
413 else: 413 else:
414 categories.append(category) 414 categories.append(category)
415 415
416 return categories, ignored, end_time 416 return categories, ignored, end_time
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698