Reformat offlineimap/contrib/ all files

Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-29 20:33:37 +02:00
parent bcc497df16
commit ad53e6f7ab
3 changed files with 43 additions and 48 deletions

View File

@ -25,7 +25,6 @@ from helpers import (
MAILING_LIST, CACHEDIR, EDITOR, Git, OfflineimapInfo, Testers, User, run, goTo MAILING_LIST, CACHEDIR, EDITOR, Git, OfflineimapInfo, Testers, User, run, goTo
) )
__VERSION__ = "0.2" __VERSION__ = "0.2"
SPHINXBUILD = 'sphinx-build' SPHINXBUILD = 'sphinx-build'
@ -342,7 +341,6 @@ class Release(object):
self.changelog = Changelog() self.changelog = Changelog()
self.websiteBranch = "NO_BRANCH_NAME_ERROR" self.websiteBranch = "NO_BRANCH_NAME_ERROR"
def getVersion(self): def getVersion(self):
return self.offlineimapInfo.getVersion() return self.offlineimapInfo.getVersion()

View File

@ -20,7 +20,6 @@ class App(object):
self.testers = Testers() self.testers = Testers()
self.feedbacks = None self.feedbacks = None
def _getTestersByFeedback(self): def _getTestersByFeedback(self):
if self.feedbacks is not None: if self.feedbacks is not None:
return self.feedbacks return self.feedbacks
@ -91,7 +90,6 @@ class App(object):
if ans in ['s']: if ans in ['s']:
self.testers.write() self.testers.write()
def listTesters(self): def listTesters(self):
self._getTestersByFeedback() self._getTestersByFeedback()
@ -134,6 +132,7 @@ class App(object):
# def updateMailaliases(self): # def updateMailaliases(self):
if __name__ == '__main__': if __name__ == '__main__':
Git.chdirToRepositoryTopLevel() Git.chdirToRepositoryTopLevel()

View File

@ -14,8 +14,6 @@ from helpers import (
MAILING_LIST, CACHEDIR, EDITOR, Testers, Git, OfflineimapInfo, User MAILING_LIST, CACHEDIR, EDITOR, Testers, Git, OfflineimapInfo, User
) )
UPCOMING_FILE = "{}/upcoming.txt".format(CACHEDIR) UPCOMING_FILE = "{}/upcoming.txt".format(CACHEDIR)
UPCOMING_HEADER = "{}/upcoming-header.txt".format(CACHEDIR) UPCOMING_HEADER = "{}/upcoming-header.txt".format(CACHEDIR)