fixed bug in host related property listing when the list is empty

Jira-Issue: OPENSTACK-715
This commit is contained in:
Borne Mace 2016-03-10 23:49:05 -08:00
parent 57c1acfd3a
commit 9298bd1969
1 changed files with 2 additions and 2 deletions

View File

@ -287,13 +287,13 @@ class PropertyList(Lister):
else:
if self.is_long_flag:
if self.is_global:
data.append(('', '', '', '', ''))
data.append(('', '', '', ''))
else:
data.append(('', '', '', '', ''))
else:
if self.is_global:
data.append(('', '', ''))
else:
data.append(('', '', ''))
data.append(('', '', '', ''))
return data