Fixing Lint after flake upgrade (#1162)

* Fixing Lint after flake upgrade

* more lint fixes
This commit is contained in:
Richard Liaw
2017-10-26 19:02:07 -07:00
committed by Robert Nishihara
parent 6da7761d5d
commit 797f4fcbf3
11 changed files with 34 additions and 37 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ def check_serializable(cls):
.format(cls))
try:
obj = cls.__new__(cls)
except:
except Exception:
raise RayNotDictionarySerializable("The class {} has overridden "
"'__new__', so Ray may not be able "
"to serialize it efficiently."