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

Unified Diff: chrome/tools/extract_actions.py

Issue 8680018: Fix python scripts in src/chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 9 years, 1 month 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 | « chrome/tools/check_grd_for_unused_strings.py ('k') | chrome/tools/extract_histograms.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/extract_actions.py
diff --git a/chrome/tools/extract_actions.py b/chrome/tools/extract_actions.py
index 650f6e4cfbd3d88bdbde4472eed6c1e31a043627..09bab23dd1a0faafe0c00e7a4f4e4f1d4cd12c44 100755
--- a/chrome/tools/extract_actions.py
+++ b/chrome/tools/extract_actions.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright (c) 2011 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.
@@ -439,6 +439,8 @@ def main(argv):
if hash_output:
print "Done. Do not forget to add chromeactions.txt to your changelist"
+ return 0
+
if '__main__' == __name__:
- main(sys.argv)
+ sys.exit(main(sys.argv))
« no previous file with comments | « chrome/tools/check_grd_for_unused_strings.py ('k') | chrome/tools/extract_histograms.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698