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

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

Issue 217593005: Update the diff_util import in update_histogram_enum.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload??? Created 6 years, 9 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 | « tools/metrics/histograms/histograms.xml ('k') | no next file » | 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 ea43a3504916292db83609ab57b8a8c426cead48..61104addfd54df55167c9143d5b5672aac5f6909 100644
--- a/tools/metrics/histograms/update_histogram_enum.py
+++ b/tools/metrics/histograms/update_histogram_enum.py
@@ -8,12 +8,15 @@ If the file was pretty-printed, the updated version is pretty-printed too.
"""
import logging
+import os
import print_style
import re
import sys
from xml.dom import minidom
-from diffutil import PromptUserToAcceptDiff
+
+sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common'))
+from diff_util import PromptUserToAcceptDiff
class UserError(Exception):
def __init__(self, message):
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698