Skip to content

Commit 2f8dbdc

Browse files
clebergnumokibit
authored andcommitted
Remove assignment to variable that gets overriden and never used
Signed-off-by: Cleber Rosa <crosa@redhat.com> Signed-off-by: Monika Kairaityte <monika@kibit.lt>
1 parent e789d98 commit 2f8dbdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

podman_compose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2467,7 +2467,7 @@ def _parse_args(self, argv: list[str] | None = None) -> argparse.Namespace:
24672467
parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter)
24682468
self._init_global_parser(parser)
24692469
subparsers = parser.add_subparsers(title="command", dest="command")
2470-
subparser = subparsers.add_parser("help", help="show help")
2470+
_ = subparsers.add_parser("help", help="show help")
24712471
for cmd_name, cmd in self.commands.items():
24722472
subparser = subparsers.add_parser(cmd_name, help=cmd.desc) # pylint: disable=protected-access
24732473
for cmd_parser in cmd._parse_args: # pylint: disable=protected-access

0 commit comments

Comments
 (0)