]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
patchtest: tests: base.py: remove duplicate Commit object
authorTrevor Gamblin <tgamblin@baylibre.com>
Thu, 2 Jul 2026 15:22:08 +0000 (11:22 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jul 2026 16:15:09 +0000 (17:15 +0100)
This is declared twice, so delete one occurrence.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/patchtest/tests/base.py

index 919ca136bb469eee3e5af4b145e8293588728f84..8263932dda93d4efd3fd6b38c806667dde128ad2 100644 (file)
@@ -22,10 +22,6 @@ info = logger.info
 warn = logger.warn
 error = logger.error
 
-Commit = collections.namedtuple(
-    "Commit", ["author", "subject", "commit_message", "shortlog", "payload"]
-)
-
 Commit = collections.namedtuple('Commit', ['author', 'subject', 'commit_message', 'shortlog', 'payload'])
 
 class PatchtestOEError(Exception):