aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Skultety <eskultet@redhat.com>2023-05-24 09:56:26 +0200
committerErik Skultety <eskultet@redhat.com>2023-06-22 12:05:04 +0000
commit5035104d9d18e2a90aff0a63d824c8c85db9a248 (patch)
tree93342fc66cfdb41f7bac6095925d934659414358
parent10dc8f3a3d17c38f5089616e541da4b2105bf8fe (diff)
downloadlibvirt-ci-5035104d9d18e2a90aff0a63d824c8c85db9a248.zip
libvirt-ci-5035104d9d18e2a90aff0a63d824c8c85db9a248.tar.gz
libvirt-ci-5035104d9d18e2a90aff0a63d824c8c85db9a248.tar.bz2
commandline: Break install parent dependency parsers to multiple lines
Future patches may add more options and hence we'll need to specify them here in the dependency parsers list. This change is purely to enhance code readability. Signed-off-by: Erik Skultety <eskultet@redhat.com>
-rw-r--r--lcitool/commandline.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/lcitool/commandline.py b/lcitool/commandline.py
index 72d2544..607b32d 100644
--- a/lcitool/commandline.py
+++ b/lcitool/commandline.py
@@ -238,8 +238,13 @@ class CommandLine:
installparser = subparsers.add_parser(
"install",
help="perform unattended host installation",
- parents=[waitopt, installtargetopt, installhostopt,
- installstrategyopt, installforceopt],
+ parents=[
+ waitopt,
+ installtargetopt,
+ installhostopt,
+ installstrategyopt,
+ installforceopt,
+ ],
)
installparser.set_defaults(func=Application._action_install)