repository/IMAP.py Removed extra characters

These characters can be removed.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 14:19:34 +02:00
parent 75f979d45b
commit 78b010d149

View File

@ -169,7 +169,7 @@ class IMAPRepository(BaseRepository):
for m in mechs:
if m not in supported:
raise OfflineImapError("Repository %s: " % self + \
raise OfflineImapError("Repository %s: " % self +
"unknown authentication mechanism '%s'" % m,
OfflineImapError.ERROR.REPO)
@ -509,7 +509,7 @@ class IMAPRepository(BaseRepository):
"""Converts a cmp= function into a key= function
We need to keep cmp functions for backward compatibility"""
class K():
class K:
def __init__(self, obj, *args):
self.obj = obj