Univention Bugzilla – Attachment #7525: patch for bug #40875
try:
with open(pickle_file, 'rb') as fd:
return load(fd)
except (IOError, PickleError):
except (EOFError, EnvironmentError, PickleError):
return None
@classmethod