Skip to content

Commit

Permalink
Fix for issue hpe-storage#70
Browse files Browse the repository at this point in the history
  • Loading branch information
wdurairaj committed Jul 3, 2019
1 parent de7c4a2 commit 5030fb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hpe3parclient/showport_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ def parseShowport(self, port_show_output):
# and the number of entries returned. We don't want those
port_show_output = port_show_output[0:-2]

if not port_show_output:
return new_ports

# The first array in the
# ports output list is the headers
headers = port_show_output.pop(0).split(',')
Expand Down

0 comments on commit 5030fb7

Please sign in to comment.