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

Unified Diff: remoting/webapp/build-webapp.py

Issue 8665013: Fix many* python scripts in src/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed chrome_frame/tools/test/page_cycler/cf_cycler.py 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 | « remoting/tools/runclient.py ('k') | remoting/webapp/verify-translations.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/build-webapp.py
diff --git a/remoting/webapp/build-webapp.py b/remoting/webapp/build-webapp.py
old mode 100644
new mode 100755
index c73835a73d3847e6335655967416bb623a3b64fc..14b8a6d1c89300a3b1cfdb79442f99aa21f99bf2
--- a/remoting/webapp/build-webapp.py
+++ b/remoting/webapp/build-webapp.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.
@@ -183,7 +183,7 @@ def main():
print ('Usage: build-webapp.py '
'<build-type> <mime-type> <dst> <zip-path> <plugin> '
'<other files...> --locales <locales...>')
- sys.exit(1)
+ return 1
reading_locales = False
files = []
@@ -198,7 +198,8 @@ def main():
buildWebApp(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5],
files, locales)
+ return 0
if __name__ == '__main__':
- main()
+ sys.exit(main())
« no previous file with comments | « remoting/tools/runclient.py ('k') | remoting/webapp/verify-translations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698