Eliminate bare-except suppression

pull/15113/head
Mehrdad Afshari 7 years ago committed by Mehrdad Afshari
parent 4cc8ea9be1
commit 1611946161
  1. 1
      .pylintrc-tests
  2. 2
      src/python/grpcio_tests/tests/_loader.py

@ -40,7 +40,6 @@ disable=
too-many-locals,
redefined-variable-type,
redefined-outer-name,
bare-except,
broad-except,
ungrouped-imports,
too-many-branches,

@ -54,7 +54,7 @@ class Loader(object):
for module in modules:
try:
package_paths = module.__path__
except:
except AttributeError:
continue
self.walk_packages(package_paths)
coverage_context.stop()

Loading…
Cancel
Save