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
+2 -2
View File
@@ -60,7 +60,7 @@ try:
def kwargs_throw_exception(**c):
return ()
kwargs_exception_thrown = False
except:
except Exception:
kwargs_exception_thrown = True
try:
@@ -68,7 +68,7 @@ try:
def varargs_and_kwargs_throw_exception(a, b="hi", *c):
return "{} {} {}".format(a, b, c)
varargs_and_kwargs_exception_thrown = False
except:
except Exception:
varargs_and_kwargs_exception_thrown = True
# test throwing an exception