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

Unified Diff: chrome/test/chromeos/autotest/files/client/deps/chrome_test/chrome_test.py

Issue 8680018: Fix python scripts in src/chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
Index: chrome/test/chromeos/autotest/files/client/deps/chrome_test/chrome_test.py
diff --git a/chrome/test/chromeos/autotest/files/client/deps/chrome_test/chrome_test.py b/chrome/test/chromeos/autotest/files/client/deps/chrome_test/chrome_test.py
index 752683d5a9c0b2aff18b00bd68dec6a6e3eefb52..8131e51fa1f3af2c21796bc59dd1df373aeed27a 100755
--- a/chrome/test/chromeos/autotest/files/client/deps/chrome_test/chrome_test.py
+++ b/chrome/test/chromeos/autotest/files/client/deps/chrome_test/chrome_test.py
@@ -1,17 +1,26 @@
-#!/usr/bin/python
-
-# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+#!/usr/bin/env python
Nirnimesh 2011/11/23 21:42:25 Please skip the files in chrome/test/chromeos/auto
+# 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.
-import common, commands, logging, os
+import logging
+import os
+
+import common
+import commands
from autotest_lib.client.bin import utils
version = 1
+
def setup(top_dir):
- return
+ return
+
+
+def main():
+ pwd = os.getcwd()
+ utils.update_version(pwd + '/src', False, version, setup, None)
-pwd = os.getcwd()
-utils.update_version(pwd + '/src', False, version, setup, None)
+if __name__ == '__main__':
+ sys.exit(main())

Powered by Google App Engine
This is Rietveld 408576698