mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 16:44:54 +08:00
Fix linting errors. (#3127)
This commit is contained in:
committed by
Philipp Moritz
parent
55d161b49f
commit
5aa29613db
@@ -2387,7 +2387,7 @@ def register_custom_serializer(cls,
|
||||
# worker. However, determinism is not guaranteed, and the
|
||||
# result may be different on different workers.
|
||||
class_id = _try_to_compute_deterministic_class_id(cls)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
raise serialization.CloudPickleError("Failed to pickle class "
|
||||
"'{}'".format(cls))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user