mirror of
https://github.com/wassname/ray.git
synced 2026-08-16 11:27:09 +08:00
Fix linting errors. (#3127)
This commit is contained in:
committed by
Philipp Moritz
parent
55d161b49f
commit
5aa29613db
@@ -50,7 +50,7 @@ def driver(redis_address, driver_index):
|
||||
while time.time() - start_time < timeout:
|
||||
try:
|
||||
actor = actor_class.remote()
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
time.sleep(0.1)
|
||||
else:
|
||||
return actor
|
||||
|
||||
@@ -199,7 +199,7 @@ def cleanup_driver(redis_address, driver_index):
|
||||
try:
|
||||
actor = actor_class.remote(driver_index, actor_index,
|
||||
redis_address)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
time.sleep(0.1)
|
||||
else:
|
||||
return actor
|
||||
|
||||
Reference in New Issue
Block a user