diff options
author | stark, steven <steven.stark@att.com> | 2020-10-15 12:34:35 -0700 |
---|---|---|
committer | stark, steven <steven.stark@att.com> | 2020-10-15 12:39:49 -0700 |
commit | a0984e365a7c610e9cb91cf73e5d09db2be6df6a (patch) | |
tree | 67b8aaaffb37b56105569f2233672db9e5720cbd /onap-client/onap_client/util.py | |
parent | 82f201fb65094aad55b3e46634bad39713387c6e (diff) |
[VVP] VVP onap-client enhancements
Adding capability for custom auth plugin (defaults to basic auth).
During updates to VNF models, resource and policy objects are deletd and recreated.
Issue-ID: VVP-477
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: Iba743176167c2b1df185666b08cbd79c6a559c9e
Diffstat (limited to 'onap-client/onap_client/util.py')
-rw-r--r-- | onap-client/onap_client/util.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/onap-client/onap_client/util.py b/onap-client/onap_client/util.py index 2a9e3e7..c70d049 100644 --- a/onap-client/onap_client/util.py +++ b/onap-client/onap_client/util.py @@ -41,7 +41,6 @@ from prettytable import PrettyTable def utility_cli(onap_client, cli_arguments): functions = onap_client.utility_functions - if len(cli_arguments) == 0 or cli_arguments[0] == "--help": help(functions) else: @@ -68,7 +67,7 @@ def utility_cli(onap_client, cli_arguments): ) return - if cli_arguments[0] == "--help": + if len(cli_arguments) and cli_arguments[0] == "--help": help(functions) return |