Fix linting errors. (#3127)

This commit is contained in:
Robert Nishihara
2018-10-24 16:30:00 -07:00
committed by Philipp Moritz
parent 55d161b49f
commit 5aa29613db
12 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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: