Browse files

retry cleanups

  • Loading branch information...
1 parent 89304f4 commit 5c5d9691e784640c2eb0afc9a52126e2b5413ba6 @reedwade committed Dec 31, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/fitbit_client.py
View
3 python/fitbit_client.py
@@ -98,6 +98,8 @@ def __init__(self):
if retries:
print "retrying"
time.sleep(5)
+ else:
+ raise
self.fitbit = FitBit(base)
self.remote_info = None
@@ -160,7 +162,6 @@ def main():
print '-'*60
traceback.print_exc(file=sys.stdout)
print '-'*60
- assert False
else:
print "normal finish"

0 comments on commit 5c5d969

Please sign in to comment.