From 22ec9f8e02766dd11b59e17f4913feb2f5b32dc1 Mon Sep 17 00:00:00 2001 From: Roey Chen Date: Tue, 13 Jun 2017 04:29:54 -0700 Subject: [PATCH] NSXv Admin: Print usage if no properties are given for bgp-gw-edge Change-Id: Ibae53f39c53c6a9330903e22da3e30bae0beae52 --- vmware_nsx/shell/admin/plugins/common/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vmware_nsx/shell/admin/plugins/common/utils.py b/vmware_nsx/shell/admin/plugins/common/utils.py index 424a3c75df..b37f278cf8 100644 --- a/vmware_nsx/shell/admin/plugins/common/utils.py +++ b/vmware_nsx/shell/admin/plugins/common/utils.py @@ -46,6 +46,7 @@ def parse_multi_keyval_opt(opt_list): """Converts a MutliStrOpt to a key-value dict""" result = dict() + opt_list = opt_list if opt_list else [] for opt_value in opt_list: try: key, value = opt_value.split('=')