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

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

Issue 1143323006: Histograms.xml python script housekeeping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bad_message
Patch Set: Split off the extensions permission weirdness. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: tools/metrics/histograms/histogram_ownership.py
diff --git a/tools/metrics/histograms/histogram_ownership.py b/tools/metrics/histograms/histogram_ownership.py
index 0d13e6abf1eeb6450306d810bae4354ed098b17a..1ce8e4523b2eb7c5e1ee693255f4d0d2932dfd9d 100755
--- a/tools/metrics/histograms/histogram_ownership.py
+++ b/tools/metrics/histograms/histogram_ownership.py
@@ -9,10 +9,12 @@ histograms.
import xml.etree.ElementTree
+import histograms_path
+
DUMMY_OWNER = "Please list the metric's owners. Add more owner tags as needed."
def main():
- tree = xml.etree.ElementTree.parse('histograms.xml')
+ tree = xml.etree.ElementTree.parse(histograms_path.GetHistogramsFile())
root = tree.getroot()
assert root.tag == 'histogram-configuration'

Powered by Google App Engine
This is Rietveld 408576698