From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 60132@debbugs.gnu.org
Cc: u-boot@lists.denx.de, Simon Glass <sjg@chromium.org>,
Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Subject: [bug#60132] [PATCH 1/3] patman: remove extraneous imports
Date: Fri, 16 Dec 2022 20:45:27 -0500 [thread overview]
Message-ID: <20221217014530.27772-1-maxim.cournoyer@savoirfairelinux.com> (raw)
* tools/patman/main.py: Remove extraneous imports and fix indentation.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
---
tools/patman/main.py | 5 +----
1 file changed, 1 insertion(+), 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()
base-commit: 9bd3d354a1a0712ac27c717df9ad60566b0406ee
--
2.38.1
next reply other threads:[~2022-12-17 1:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-17 1:45 Maxim Cournoyer [this message]
2022-12-17 1:45 ` [bug#60133] [PATCH 2/3] patman: fix installation of README.rst data file Maxim Cournoyer
2022-12-17 22:24 ` Simon Glass
2022-12-21 0:28 ` [bug#60132] " Simon Glass
2022-12-17 1:45 ` [bug#60134] [PATCH 3/3] patman: locate README.rst via importlib Maxim Cournoyer
2022-12-17 22:24 ` Simon Glass
2022-12-21 0:28 ` [bug#60132] " Simon Glass
2022-12-17 22:24 ` [bug#60132] [PATCH 1/3] patman: remove extraneous imports Simon Glass
2022-12-21 0:28 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221217014530.27772-1-maxim.cournoyer@savoirfairelinux.com \
--to=maxim.cournoyer@gmail.com \
--cc=60132@debbugs.gnu.org \
--cc=maxim.cournoyer@savoirfairelinux.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.