Index: chrome/test/chromeos/autotest/files/client/deps/pyauto_dep/pyauto_dep.py |
diff --git a/chrome/test/chromeos/autotest/files/client/deps/pyauto_dep/pyauto_dep.py b/chrome/test/chromeos/autotest/files/client/deps/pyauto_dep/pyauto_dep.py |
index 444d395c5f9f2c5a814bf1cfd17a8e52e16c7198..132c3ce40d1acb4f74dd01e334c41b7696735f45 100755 |
--- a/chrome/test/chromeos/autotest/files/client/deps/pyauto_dep/pyauto_dep.py |
+++ b/chrome/test/chromeos/autotest/files/client/deps/pyauto_dep/pyauto_dep.py |
@@ -1,5 +1,4 @@ |
-#!/usr/bin/python |
- |
+#!/usr/bin/env python |
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
@@ -18,5 +17,10 @@ def setup(top_dir): |
return |
-pwd = os.getcwd() |
-utils.update_version(pwd + '/src', False, version, setup, None) |
+def main(): |
+ pwd = os.getcwd() |
+ utils.update_version(pwd + '/src', False, version, setup, None) |
+ |
+ |
+if __name__ == '__main__': |
+ sys.exit(main()) |