Format python files using yapf
Change-Id: I8b7b97efb6bfdcceef9efc533cdaa0675ab7db40
diff --git a/tools/utils_aosp.py b/tools/utils_aosp.py
index 216e43d..e8b0ffb 100644
--- a/tools/utils_aosp.py
+++ b/tools/utils_aosp.py
@@ -3,7 +3,6 @@
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
-
from os.path import join
from subprocess import check_call
@@ -17,19 +16,22 @@
DEFAULT_ROOT = join(utils.REPO_ROOT, 'build', 'aosp')
+
def add_root_argument(parser):
- parser.add_argument('--aosp-root',
- help='Root of the AOSP checkout. ' +
- 'Defaults to ' + DEFAULT_ROOT +'.',
- default=DEFAULT_ROOT)
+ parser.add_argument('--aosp-root',
+ help='Root of the AOSP checkout. ' + 'Defaults to ' +
+ DEFAULT_ROOT + '.',
+ default=DEFAULT_ROOT)
+
def add_common_arguments(parser):
- add_root_argument(parser)
- parser.add_argument('--lunch',
- help='Build menu. ' +
- 'Defaults to ' + DEFAULT_LUNCH + '.',
- default=DEFAULT_LUNCH)
+ add_root_argument(parser)
+ parser.add_argument('--lunch',
+ help='Build menu. ' + 'Defaults to ' + DEFAULT_LUNCH +
+ '.',
+ default=DEFAULT_LUNCH)
+
def run_through_aosp_helper(lunch, args, cwd):
- args[0:0] = [AOSP_HELPER_SH, lunch]
- check_call(args, cwd = cwd)
+ args[0:0] = [AOSP_HELPER_SH, lunch]
+ check_call(args, cwd=cwd)