Merge pull request #151 from Yelp/fix-bare-init

Fix bare except to appease new flake8
This commit is contained in:
Chris Kuehl 2017-11-21 23:10:27 -08:00 committed by GitHub
commit 2132d82bde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: