From 2409fe8f490fbc939fa944786a5ff3260a4eb8fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sun, 1 Nov 2020 12:45:48 +0100 Subject: [PATCH] IMAP.py removed warning about explicitly re-raising This patch removes this warning: repository/IMAP.py:146:16: W0707: Consider explicitly re-raising using the 'from' keyword (raise-missing-from) --- offlineimap/repository/IMAP.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/repository/IMAP.py b/offlineimap/repository/IMAP.py index d2f577a..f09fd28 100644 --- a/offlineimap/repository/IMAP.py +++ b/offlineimap/repository/IMAP.py @@ -147,7 +147,7 @@ class IMAPRepository(BaseRepository): "remotehosteval option for repository " "'%s' failed:\n%s" % (self, exc), OfflineImapError.ERROR.REPO, - exc_info()[2]) + exc_info()[2]) from exc if host: self._host = host return self._host