Merge pull request #151 from Yelp/fix-bare-init
Fix bare except to appease new flake8
This commit is contained in:
commit
2132d82bde
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ def sleep_until(fn, timeout=1.5):
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
fn()
|
fn()
|
||||||
except:
|
except Exception:
|
||||||
if so_far >= timeout:
|
if so_far >= timeout:
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue