1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Tue, 2 Jan 2024 11:06:42 +0100
Subject: Drop extra TypeVar, fails in Python 3.12
---
isbg/imaputils.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/isbg/imaputils.py b/isbg/imaputils.py
index c0d19b6..6c79f50 100644
--- a/isbg/imaputils.py
+++ b/isbg/imaputils.py
@@ -35,9 +35,9 @@ from hashlib import md5
from isbg import utils
from .utils import __
-from typing import List, TypeVar, Union
+from typing import List, Union
-Email = TypeVar(email.message.Message)
+Email = email.message.Message
Uid = Union[int, str]
Uids = List[int]
|