This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a8ffbd  modnotfound?
5a8ffbd is described below

commit 5a8ffbdd9e58a8d7fbff8ade8949830f24b51cf6
Author: Daniel Gruno <[email protected]>
AuthorDate: Mon Sep 20 14:48:01 2021 -0500

    modnotfound?
---
 server/endpoints/mbox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/endpoints/mbox.py b/server/endpoints/mbox.py
index a12ffd0..53b4a80 100644
--- a/server/endpoints/mbox.py
+++ b/server/endpoints/mbox.py
@@ -26,7 +26,7 @@ import typing
 import aiohttp.web
 try:
     from asyncio.exceptions import CancelledError
-except ImportError:  # 3.7 ??
+except (ImportError, ModuleNotFoundError):  # 3.7 ??
     from asyncio import CancelledError
 import email.utils as eutils
 import datetime

Reply via email to