Skip to content

Commit 6593c6c

Browse files
committed
make pylint happy
1 parent b846cfa commit 6593c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tf2onnx/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ def make_model(self, graph_doc, optimize=False, graph_name="tf2onnx", **kwargs):
10421042
# set the IR version based on opset
10431043
try:
10441044
model_proto.ir_version = constants.OPSET_TO_IR_VERSION.get(self.opset, model_proto.ir_version)
1045-
except:
1045+
except: # pylint: disable=bare-except
10461046
logger.error("ir_version override failed - install the latest onnx version")
10471047

10481048
# optimize the model proto.

0 commit comments

Comments
 (0)