summaryrefslogtreecommitdiffstats
path: root/qtip/cli/utils.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-06-05 21:51:51 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-06-05 23:46:33 +0800
commitcb3795a39882bb97c15ae5c9562faf577334399b (patch)
tree6bbd1d366b1e214bed87398ff7a1db102c607459 /qtip/cli/utils.py
parent0ce21bc2fc83faa3462de9fd52360cb0d6fae71d (diff)
Beautify the argument names
- keep the argument consisten with OPNFV convention - installer-ip is not used because in fact we use host address instead - remove optional argurment from prompt Change-Id: I3db3cf53b62cc86e143bc59a7dd8bb83d0f74b7d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/cli/utils.py')
-rw-r--r--qtip/cli/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtip/cli/utils.py b/qtip/cli/utils.py
index 0f0e7e95..331d2000 100644
--- a/qtip/cli/utils.py
+++ b/qtip/cli/utils.py
@@ -19,7 +19,7 @@ QTIP_ANSIBLE_ROLES = path.join(QTIP_PACKAGE, 'resources', 'ansible_roles')
def join_vars(**kwargs):
- return " ".join(["{}={}".format(variable, value) for variable, value in kwargs.items()])
+ return " ".join(["{}={}".format(variable, value) for variable, value in kwargs.items() if value is not None])
def table(name, components):