node-exporter-textfile-collector-scripts icon indicating copy to clipboard operation
node-exporter-textfile-collector-scripts copied to clipboard

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

Open equinox0815 opened this issue 2 years ago • 0 comments

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.

equinox0815 avatar Jul 18 '23 22:07 equinox0815