mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 12:45:44 +08:00
Fix linting errors. (#3127)
This commit is contained in:
committed by
Philipp Moritz
parent
55d161b49f
commit
5aa29613db
@@ -225,7 +225,7 @@ def start(node_ip_address, redis_address, redis_port, num_redis_shards,
|
||||
|
||||
try:
|
||||
resources = json.loads(resources)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
raise Exception("Unable to parse the --resources argument using "
|
||||
"json.loads. Try using a format like\n\n"
|
||||
" --resources='{\"CustomResource1\": 3, "
|
||||
|
||||
Reference in New Issue
Block a user