From fe0a985228cec927af2a87470faab2a93b24b95e Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Fri, 24 Jan 2020 22:35:22 +0200 Subject: [PATCH] Call restart() from superclass from OCSPPrefetchMixin --- certbot-apache/certbot_apache/_internal/prefetch_ocsp.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py index 9f09bd5bd..b6d587249 100644 --- a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py +++ b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py @@ -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