From a085586baa94f17ba9fc5bc816503c6cf5280d44 Mon Sep 17 00:00:00 2001 From: ldericher Date: Wed, 19 Aug 2020 17:25:39 +0200 Subject: [PATCH] use action strings --- src/kiwi/subcommand.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kiwi/subcommand.py b/src/kiwi/subcommand.py index 59a64ee..fb472ff 100644 --- a/src/kiwi/subcommand.py +++ b/src/kiwi/subcommand.py @@ -19,6 +19,8 @@ class SubCommand: def __init__(self, name, action, add_parser=True, **kwargs): self.__name = name + self._action = action + if add_parser: self._sub_parser = Parser().get_subparsers().add_parser( name,