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: else:
if self.is_long_flag: if self.is_long_flag:
if self.is_global: if self.is_global:
data.append(('', '', '', '', '')) data.append(('', '', '', ''))
else: else:
data.append(('', '', '', '', '')) data.append(('', '', '', '', ''))
else: else:
if self.is_global: if self.is_global:
data.append(('', '', '')) data.append(('', '', ''))
else: else:
data.append(('', '', '')) data.append(('', '', '', ''))
return data return data