We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 965e17d commit 122e61cCopy full SHA for 122e61c
1 file changed
tensorflow_quantum/core/ops/load_module.py
@@ -47,7 +47,7 @@ def _load(self):
47
try:
48
path = resource_loader.get_path_to_datafile(self._name)
49
self._module = load_library.load_op_library(path)
50
- except:
+ except Exception: # pylint: disable=broad-except
51
path = os.path.join(get_python_lib(),
52
"tensorflow_quantum/core/ops", self._name)
53
0 commit comments