mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
buildman: Convert camel case in cmdline.py
Convert this file to snake case and update all files which use it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1d0c55d83a
commit
ae042fd801
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ import pathlib
|
|||
BUILDMAN_DIR = pathlib.Path(__file__).parent
|
||||
HAS_TESTS = os.path.exists(BUILDMAN_DIR / "test.py")
|
||||
|
||||
def ParseArgs():
|
||||
def parse_args():
|
||||
"""Parse command line arguments from sys.argv[]
|
||||
|
||||
Returns:
|
||||
|
|
|
@ -252,7 +252,7 @@ class TestFunctional(unittest.TestCase):
|
|||
result code from buildman
|
||||
"""
|
||||
sys.argv = [sys.argv[0]] + list(args)
|
||||
options, args = cmdline.ParseArgs()
|
||||
options, args = cmdline.parse_args()
|
||||
if brds == False:
|
||||
brds = self._boards
|
||||
result = control.do_buildman(
|
||||
|
|
|
@ -60,7 +60,7 @@ def run_buildman():
|
|||
This is the main program. It collects arguments and runs either the tests or
|
||||
the control module.
|
||||
"""
|
||||
options, args = cmdline.ParseArgs()
|
||||
options, args = cmdline.parse_args()
|
||||
|
||||
if not options.debug:
|
||||
sys.tracebacklimit = 0
|
||||
|
|
Loading…
Reference in a new issue