Skip to content

Commit

Permalink
Attempts have been changed to retries, no longer substract first attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
David Moreau Simard committed Feb 24, 2016
1 parent c23ffb2 commit 0478e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cicoclient/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def node_get(self, arch=None, ver=None, count=1, retry_count=1,

resp, body = self.get('Node/get?%s' % args)
if not body:
for _ in range(retry_count - 1):
for _ in range(retry_count):
time.sleep(retry_interval)
resp, body = self.get('Node/get?%s' % args)
if body:
Expand Down

0 comments on commit 0478e6e

Please sign in to comment.