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

Unified Diff: appengine/findit/crash/component.py

Issue 2414523002: [Findit] Reorganizing findit_for_*.py (Closed)
Patch Set: trying to fix some tests Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: appengine/findit/crash/component.py
diff --git a/appengine/findit/crash/component.py b/appengine/findit/crash/component.py
index 37f1f2ce91d258e8b6ead21821fd8fd181860ed6..922fef1e9911a41c548b6164b020f121f37b96c0 100644
--- a/appengine/findit/crash/component.py
+++ b/appengine/findit/crash/component.py
@@ -2,12 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import collections
+from collections import namedtuple
import re
# TODO(wrengr): write the coverage tests the old version was lacking.
-class Component(collections.namedtuple('Component',
+class Component(namedtuple('Component',
['component_name', 'path_regex', 'function_regex'])): # pragma: no cover
"""A representation of a "component" in Chromium.

Powered by Google App Engine
This is Rietveld 408576698