Skip to content

Commit 7958552

Browse files
committed
python: add comment on empty except
Problem: CodeQL outputs a warning that an except clause is empty without a comment. Add a comment to eliminate the warning.
1 parent 3a77f2c commit 7958552

File tree

1 file changed

+1
-0
lines changed
  • src/bindings/python/flux

1 file changed

+1
-0
lines changed

src/bindings/python/flux/kvs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ def __del__(self):
795795
try:
796796
super().__del__()
797797
except AttributeError:
798+
# not an error if super did not implement
798799
pass
799800

800801
def __init__(self, future_handle):

0 commit comments

Comments
 (0)