Reformat offlineimap/repository/__init__.py

Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-29 19:48:41 +02:00
parent 3a1b25c204
commit b64430e035

View File

@ -19,7 +19,7 @@ from sys import exc_info
try: try:
from configparser import NoSectionError from configparser import NoSectionError
except ImportError: #python2 except ImportError: # python2
from configparser import NoSectionError from configparser import NoSectionError
from offlineimap.repository.IMAP import IMAPRepository, MappedIMAPRepository from offlineimap.repository.IMAP import IMAPRepository, MappedIMAPRepository
@ -75,7 +75,7 @@ class Repository(object):
try: try:
repo = typemap[repostype] repo = typemap[repostype]
except KeyError: except KeyError:
errstr = "'%s' repository not supported for '%s' repositories."% \ errstr = "'%s' repository not supported for '%s' repositories." % \
(repostype, reqtype) (repostype, reqtype)
six.reraise(OfflineImapError, six.reraise(OfflineImapError,
OfflineImapError(errstr, OfflineImapError.ERROR.REPO), OfflineImapError(errstr, OfflineImapError.ERROR.REPO),