Call restart() from superclass from OCSPPrefetchMixin

This commit is contained in:
Joona Hoikkala 2020-01-24 22:35:22 +02:00
parent dfa8b2a2cd
commit fe0a985228
No known key found for this signature in database
GPG key ID: D5AA86BBF9B29A5C

View file

@ -263,8 +263,10 @@ class OCSPPrefetchMixin(object):
self._ocsp_prefetch_backup_db()
try:
self._reload()
except errors.MisconfigurationError:
# Ignored because of issues with multiple class inheritance method
# resolution https://github.com/python/mypy/issues/4335
super(OCSPPrefetchMixin, self).restart() # type: ignore
except errors.MisconfigurationError:
self._ocsp_prefetch_restore_db()
raise