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

Unified Diff: tools/metrics/histograms/update_histogram_enum.py

Issue 2815773004: Fix update_histogram_enum.py when UpdateHistogramEnum is called. (Closed)
Patch Set: another callsite Created 3 years, 8 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
« no previous file with comments | « no previous file | tools/metrics/histograms/update_use_counter_feature_enum.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/update_histogram_enum.py
diff --git a/tools/metrics/histograms/update_histogram_enum.py b/tools/metrics/histograms/update_histogram_enum.py
index 5c42a1271cb9b080500d42042243f6e185ec7aaa..7c21823e388840b29eef06da2bc70a7a417822b8 100644
--- a/tools/metrics/histograms/update_histogram_enum.py
+++ b/tools/metrics/histograms/update_histogram_enum.py
@@ -227,8 +227,8 @@ def UpdateHistogramEnum(histogram_enum_name, source_enum_path,
"""
Log('Reading histogram enum definition from "{0}".'.format(source_enum_path))
- source_enum_values = ReadHistogramValues(source_enum_path, start_marker,
- end_marker)
+ source_enum_values, ignored = ReadHistogramValues(source_enum_path,
+ start_marker, end_marker)
UpdateHistogramFromDict(histogram_enum_name, source_enum_values,
source_enum_path)
« no previous file with comments | « no previous file | tools/metrics/histograms/update_use_counter_feature_enum.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698