Skip to content

deleted-libraries.py: fix exception handling and miss-counting#169

Open
equinox0815 wants to merge 1 commit intoprometheus-community:masterfrom
spreadspace:topic/fix-deleted-libs
Open

deleted-libraries.py: fix exception handling and miss-counting#169
equinox0815 wants to merge 1 commit intoprometheus-community:masterfrom
spreadspace:topic/fix-deleted-libs

Conversation

@equinox0815
Copy link
Copy Markdown

EnvironmentError exceptions deprecated since Python 3.3 and are now longer used. I have this changes running since over a year now and have never encountered any other exceptions than FileNotFoundError or ProcessLookupError.
Also due to an indentation error the metric values could never reach anything above 1 even if the outdated library is used more than once.

EnvironmentError exceptions deprecated since Python 3.3 and are now longer used. I have this changes
running since over a year now and have never encountered any other exceptions than FileNotFoundError
or ProcessLookupError.
Also due to an indentation error the metric values could never reach anything above 1 even if the
outdated library is used more than once.

Signed-off-by: Christian Pointner <equinox@spreadspace.org>
@equinox0815 equinox0815 force-pushed the topic/fix-deleted-libs branch from a31d7c2 to 0a0a0d9 Compare July 18, 2023 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant