| OLD | NEW |
| 1 # Copyright 2013 The Swarming Authors. All rights reserved. | 1 # Copyright 2013 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed by the Apache v2.0 license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Set of functions to work with GAE SDK tools.""" | 5 """Set of functions to work with GAE SDK tools.""" |
| 6 | 6 |
| 7 import collections | 7 import collections |
| 8 import getpass | 8 import getpass |
| 9 import glob | 9 import glob |
| 10 import hashlib | 10 import hashlib |
| 11 import logging | 11 import logging |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 print >> sys.stderr, 'Failed to unlock keyring: %s' % e | 718 print >> sys.stderr, 'Failed to unlock keyring: %s' % e |
| 719 return False | 719 return False |
| 720 | 720 |
| 721 | 721 |
| 722 def setup_gae_env(): | 722 def setup_gae_env(): |
| 723 """Sets up App Engine Python test environment.""" | 723 """Sets up App Engine Python test environment.""" |
| 724 sdk_path = find_gae_sdk(PYTHON_GAE_SDK) | 724 sdk_path = find_gae_sdk(PYTHON_GAE_SDK) |
| 725 if not sdk_path: | 725 if not sdk_path: |
| 726 raise BadEnvironmentConfig('Couldn\'t find GAE SDK.') | 726 raise BadEnvironmentConfig('Couldn\'t find GAE SDK.') |
| 727 setup_gae_sdk(sdk_path) | 727 setup_gae_sdk(sdk_path) |
| OLD | NEW |