diff -r bc0b38405b6a -r a00cd6b55728 eric7/PipInterface/PipVulnerabilityChecker.py --- a/eric7/PipInterface/PipVulnerabilityChecker.py Fri Mar 25 19:06:20 2022 +0100 +++ b/eric7/PipInterface/PipVulnerabilityChecker.py Fri Mar 25 19:16:09 2022 +0100 @@ -28,6 +28,7 @@ import Globals import Preferences + @dataclass class Package: """ @@ -125,7 +126,7 @@ @rtype dict """ if os.path.exists(self.__cacheFile): - with open(self.__cacheFile, "r") as f: + with open(self.__cacheFile, "r") as f: # __IGNORE_WARNING_Y117__ with contextlib.suppress(json.JSONDecodeError, OSError): cachedData = json.load(f) if (