OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 | |
3 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 4 # found in the LICENSE file. |
6 | 5 |
7 """Install the pyauto_dep dependency. | 6 """Install the pyauto_dep dependency. |
8 | 7 |
9 This is done by the Chrome ebuild so this in fact has nothing to do. | 8 This is done by the Chrome ebuild so this in fact has nothing to do. |
10 """ | 9 """ |
11 | 10 |
12 import os | 11 import os |
13 from autotest_lib.client.bin import utils | 12 from autotest_lib.client.bin import utils |
14 | 13 |
15 version = 1 | 14 version = 1 |
16 | 15 |
17 def setup(top_dir): | 16 def setup(top_dir): |
18 return | 17 return |
19 | 18 |
20 | 19 |
21 pwd = os.getcwd() | 20 def main(): |
22 utils.update_version(pwd + '/src', False, version, setup, None) | 21 pwd = os.getcwd() |
| 22 utils.update_version(pwd + '/src', False, version, setup, None) |
| 23 |
| 24 |
| 25 if __name__ == '__main__': |
| 26 sys.exit(main()) |
OLD | NEW |