Skip to content

Commit

Permalink
aardvark: catch IOError and retry
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
  • Loading branch information
hthiery committed Sep 2, 2019
1 parent 8d0f565 commit 0121bb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyipmi/interfaces/aardvark.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def _send_and_receive(self, target, lun, netfn, cmdid, payload):
break
except IpmiTimeoutError:
pass
except IOError:
pass

retries += 1

Expand Down

0 comments on commit 0121bb0

Please sign in to comment.