From 2ca8ae4f10b2120181a9e6c5bbde10caadb15094 Mon Sep 17 00:00:00 2001 From: Christian Hattemer Date: Thu, 29 Sep 2016 16:08:56 +0200 Subject: [PATCH] setup_part reparieren --- setup/lib/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/lib/cli.py b/setup/lib/cli.py index 44026a37..c590acbc 100755 --- a/setup/lib/cli.py +++ b/setup/lib/cli.py @@ -54,7 +54,7 @@ def main(): return else: if len(argv) != 2: - if len(argv) == 3 and argv[1] in ['update', 'install', 'uninstall', 'cancel_update' 'setup_part']: + if len(argv) == 3 and argv[1] in ['update', 'install', 'uninstall', 'cancel_update', 'setup_part']: # 'update' requires additional param 'module_name' pass else: @@ -182,8 +182,8 @@ def main(): ] if cmd == 'setup_part': - if ((argv[2] == 'info') or (not (argv[2] in setup_methods))): - print '\nVerfügbare setup Methoden: ' + str(setup_methods) + '\n' + if (argv[2] == 'info') or (not (argv[2] in setup_methods)): + print '\nVerfügbare Setup-Schritte: ' + str(setup_methods) + '\n' return methods = [