Skip to content

Conversation

@yut23
Copy link
Contributor

@yut23 yut23 commented Mar 25, 2023

One usage of connection_error got missed when dropping Python 2 support.

One usage of `connection_error` got missed when dropping Python 2 support.
try:
notify('', True, 0, fds)
except connection_error:
except ConnectionRefusedError:

Check notice

Code scanning / CodeQL

Empty except

'except' clause does nothing but pass and there is no explanatory comment.
@keszybz keszybz merged commit 3f0801c into systemd:main Mar 26, 2023
@yut23 yut23 deleted the patch-1 branch April 4, 2023 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants