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

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

Issue 2786433003: Fix git cl format for actions.xml changes. (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/actions/pretty_print.py
diff --git a/tools/metrics/actions/pretty_print.py b/tools/metrics/actions/pretty_print.py
new file mode 100755
index 0000000000000000000000000000000000000000..0a1d6ed859ac7eb5549ca1afa8996d4d5fa6e923
--- /dev/null
+++ b/tools/metrics/actions/pretty_print.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import logging
+import os
+import sys
+
+import extract_actions
+sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common'))
+import presubmit_util
+
+def main(argv):
+ presubmit_util.DoPresubmitMain(argv, 'actions.xml', 'actions.old.xml',
+ 'pretty_print.py', extract_actions.UpdateXml)
+
+
+if '__main__' == __name__:
+ sys.exit(main(sys.argv))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698