summaryrefslogtreecommitdiff
path: root/tools/patman/main.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-10 09:02:06 -0500
committerTom Rini <trini@konsulko.com>2022-02-10 09:19:44 -0500
commit2ccd2bc8c3580e00c51094c5cc2b3e2ead8d35c3 (patch)
tree4e7349b8831fee4b342a971025273d3cd042a2f9 /tools/patman/main.py
parent6662e5e406fdee26ba981dd4af3308f51f254f0a (diff)
parentf3078d4ea707931c2307a623ecf6e4d215b413d5 (diff)
Merge tag 'dm-pull-8feb22-take3' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
patman snake-case conversion binman fit improvements ACPI fixes and making MCFG available to ARM [trini: Update scripts/pylint.base] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/patman/main.py')
-rwxr-xr-xtools/patman/main.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/patman/main.py b/tools/patman/main.py
index c01ae36e9f9..2a2ac457093 100755
--- a/tools/patman/main.py
+++ b/tools/patman/main.py
@@ -42,7 +42,7 @@ parser.add_argument('-e', '--end', type=int, default=0,
help='Commits to skip at end of patch list')
parser.add_argument('-D', '--debug', action='store_true',
help='Enabling debugging (provides a full traceback on error)')
-parser.add_argument('-p', '--project', default=project.DetectProject(),
+parser.add_argument('-p', '--project', default=project.detect_project(),
help="Project name; affects default option values and "
"aliases [default: %(default)s]")
parser.add_argument('-P', '--patchwork-url',
@@ -135,12 +135,12 @@ if args.cmd == 'test':
from patman import func_test
result = unittest.TestResult()
- test_util.RunTestSuites(
+ test_util.run_test_suites(
result, False, False, False, None, None, None,
[test_checkpatch.TestPatch, func_test.TestFunctional,
'gitutil', 'settings', 'terminal'])
- sys.exit(test_util.ReportResult('patman', args.testname, result))
+ sys.exit(test_util.report_result('patman', args.testname, result))
# Process commits, produce patches files, check them, email them
elif args.cmd == 'send':
@@ -159,7 +159,7 @@ elif args.cmd == 'send':
fd.close()
elif args.full_help:
- tools.PrintFullHelp(
+ tools.print_full_help(
os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 'README')
)
@@ -177,7 +177,7 @@ elif args.cmd == 'status':
args.dest_branch, args.force,
args.show_comments, args.patchwork_url)
except Exception as e:
- terminal.Print('patman: %s: %s' % (type(e).__name__, e),
+ terminal.tprint('patman: %s: %s' % (type(e).__name__, e),
colour=terminal.Color.RED)
if args.debug:
print()