From 52c0eea70fdc2215b338ad609ed518c62210dce7 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Mon, 26 Oct 2015 18:09:47 +0900 Subject: [PATCH] openstack: server show must always return array If cliff-tablib is not present, the output of openstack server show is a dictionary, otherwise it is a list of Field/Value pairs. Since cliff-tablib is not a required dependency of python-openstack client, the output format of openstack server show may vary. Add cliff-tablib as a dependency so that the output format is always the same. https://bugs.launchpad.net/python-openstackclient/+bug/1510546 Signed-off-by: Loic Dachary --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 332f1124..5128efa1 100644 --- a/setup.py +++ b/setup.py @@ -55,6 +55,10 @@ setup( 'pyopenssl>=0.13', 'ndg-httpsclient', 'pyasn1', + # the following may be removed when + # https://bugs.launchpad.net/python-openstackclient/+bug/1510546 + # is resolved + 'cliff-tablib', # required to get a Field/Value output from openstack server show 'python-openstackclient', ], -- 2.47.3