fixed bug in host related property listing when the list is empty
Jira-Issue: OPENSTACK-715
This commit is contained in:
parent
57c1acfd3a
commit
9298bd1969
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue