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

Unified Diff: tools/metrics/rappor/pretty_print.py

Issue 1143323006: Histograms.xml python script housekeeping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bad_message
Patch Set: Small whitespace adjustment 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/rappor/pretty_print.py
diff --git a/tools/metrics/rappor/pretty_print.py b/tools/metrics/rappor/pretty_print.py
index 4fcda70de0111da706b7aca2e4141188912d7ec4..16d07eed334a90e1bdd2db5186e2b3141badc880 100755
--- a/tools/metrics/rappor/pretty_print.py
+++ b/tools/metrics/rappor/pretty_print.py
@@ -4,13 +4,12 @@
# found in the LICENSE file.
import logging
-import sys
import os
+import sys
-# Import the metrics/common module for pretty print xml.
-sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common'))
-import models
-import presubmit_util
+sys.path.append(os.path.join(os.path.dirname(__file__), '..')) # tools/metrics
+from common import models
+from common import presubmit_util
# Model definitions for rappor.xml content

Powered by Google App Engine
This is Rietveld 408576698