diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-12-17 04:45:27 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-01-06 05:21:56 +0300 |
commit | 291ab6c74c6d9f063d10fa97e526dd9312c1b746 (patch) | |
tree | 56fc2f8dbe3fddfe8bc2fc6e660c708b75b26903 /tools | |
parent | 7943ae241c099edc6d0cd7c4dd3c5ee18ecb24f7 (diff) | |
download | u-boot-291ab6c74c6d9f063d10fa97e526dd9312c1b746.tar.xz |
patman: remove extraneous imports
* tools/patman/main.py: Remove extraneous imports and fix indentation.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/patman/main.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/patman/main.py b/tools/patman/main.py index 5a7756a221..8067a288ab 100755 --- a/tools/patman/main.py +++ b/tools/patman/main.py @@ -9,7 +9,6 @@ from argparse import ArgumentParser import os import re -import shutil import sys import traceback @@ -19,7 +18,6 @@ if __name__ == "__main__": sys.path.append(os.path.join(our_path, '..')) # Our modules -from patman import command from patman import control from patman import gitutil from patman import project @@ -136,7 +134,6 @@ if not args.debug: # Run our meagre tests if args.cmd == 'test': - import doctest from patman import func_test result = test_util.run_test_suites( @@ -183,7 +180,7 @@ elif args.cmd == 'status': args.show_comments, args.patchwork_url) except Exception as e: terminal.tprint('patman: %s: %s' % (type(e).__name__, e), - colour=terminal.Color.RED) + colour=terminal.Color.RED) if args.debug: print() traceback.print_exc() |