| Index: PRESUBMIT.py
|
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py
|
| index 5507aa1363f369b06bac20bfb6a0c3669adcd5e9..a84f3f90d7029a8c43c78c50d7ff1b69ce04a73c 100644
|
| --- a/PRESUBMIT.py
|
| +++ b/PRESUBMIT.py
|
| @@ -406,6 +406,7 @@ def _CheckUmaHistogramChanges(input_api, output_api):
|
| if unmatched_histograms:
|
| with open('tools/metrics/histograms/histograms.xml') as histograms_xml:
|
| for histogram_name, f, line_num in unmatched_histograms:
|
| + histograms_xml.seek(0)
|
| histogram_name_found = False
|
| for line in histograms_xml:
|
| histogram_name_found = _FindHistogramNameInLine(histogram_name, line)
|
|
|