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

Unified Diff: chrome/test/pyautolib/fetch_prebuilt_pyauto.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/test/pyautolib/download_info.py ('k') | chrome/test/pyautolib/generate_docs.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/fetch_prebuilt_pyauto.py
diff --git a/chrome/test/pyautolib/fetch_prebuilt_pyauto.py b/chrome/test/pyautolib/fetch_prebuilt_pyauto.py
old mode 100644
new mode 100755
index 9b4c367ee486ec3b2263def3a40e718688c93928..a9833121e8ce34ca19186c01fcc6c657ebf1e095
--- a/chrome/test/pyautolib/fetch_prebuilt_pyauto.py
+++ b/chrome/test/pyautolib/fetch_prebuilt_pyauto.py
@@ -1,5 +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.
@@ -172,7 +171,8 @@ class FetchPrebuilt(object):
os.symlink(framework, dest)
print 'Prepared binaries in "%s"' % self._outdir
+ return 0
if __name__ == '__main__':
- FetchPrebuilt().Run()
+ sys.exit(FetchPrebuilt().Run())
« no previous file with comments | « chrome/test/pyautolib/download_info.py ('k') | chrome/test/pyautolib/generate_docs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698