You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/09/20 19:54:57 UTC

[incubator-ponymail-foal] branch master updated: will a bare exception work??

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 9932d59  will a bare exception work??
9932d59 is described below

commit 9932d594909e8d5c6013c609aa067ab3c81806e3
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Sep 20 14:54:51 2021 -0500

    will a bare exception work??
---
 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 8a79162..43f1ba0 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 AttributeError:  # 3.7 ??
+except:  # 3.7 ??
     from asyncio import CancelledError
 import email.utils as eutils
 import datetime