Reformat offlineimap/contrib/ all files
Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
parent
bcc497df16
commit
ad53e6f7ab
@ -8,10 +8,10 @@ Make a new release.
|
||||
|
||||
"""
|
||||
|
||||
#TODO: announce: cc list on announce includes all testers
|
||||
#TODO: announce: remove empty sections
|
||||
#TODO: websitedoc up
|
||||
#TODO: website branch not including all changes!
|
||||
# TODO: announce: cc list on announce includes all testers
|
||||
# TODO: announce: remove empty sections
|
||||
# TODO: websitedoc up
|
||||
# TODO: website branch not including all changes!
|
||||
|
||||
|
||||
from os import system, path, rename
|
||||
@ -25,7 +25,6 @@ from helpers import (
|
||||
MAILING_LIST, CACHEDIR, EDITOR, Git, OfflineimapInfo, Testers, User, run, goTo
|
||||
)
|
||||
|
||||
|
||||
__VERSION__ = "0.2"
|
||||
|
||||
SPHINXBUILD = 'sphinx-build'
|
||||
@ -211,7 +210,7 @@ class Changelog(object):
|
||||
if currentSection is not None:
|
||||
dict_Content[currentSection] += "{}\n".format(line)
|
||||
|
||||
#TODO: cleanup empty sections.
|
||||
# TODO: cleanup empty sections.
|
||||
return dict_Content
|
||||
|
||||
|
||||
@ -342,7 +341,6 @@ class Release(object):
|
||||
self.changelog = Changelog()
|
||||
self.websiteBranch = "NO_BRANCH_NAME_ERROR"
|
||||
|
||||
|
||||
def getVersion(self):
|
||||
return self.offlineimapInfo.getVersion()
|
||||
|
||||
|
@ -20,7 +20,6 @@ class App(object):
|
||||
self.testers = Testers()
|
||||
self.feedbacks = None
|
||||
|
||||
|
||||
def _getTestersByFeedback(self):
|
||||
if self.feedbacks is not None:
|
||||
return self.feedbacks
|
||||
@ -91,7 +90,6 @@ class App(object):
|
||||
if ans in ['s']:
|
||||
self.testers.write()
|
||||
|
||||
|
||||
def listTesters(self):
|
||||
self._getTestersByFeedback()
|
||||
|
||||
@ -132,7 +130,8 @@ class App(object):
|
||||
self.testers.reset()
|
||||
self.testers.write()
|
||||
|
||||
#def updateMailaliases(self):
|
||||
# def updateMailaliases(self):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
Git.chdirToRepositoryTopLevel()
|
||||
|
@ -14,29 +14,27 @@ from helpers import (
|
||||
MAILING_LIST, CACHEDIR, EDITOR, Testers, Git, OfflineimapInfo, User
|
||||
)
|
||||
|
||||
|
||||
|
||||
UPCOMING_FILE = "{}/upcoming.txt".format(CACHEDIR)
|
||||
UPCOMING_HEADER = "{}/upcoming-header.txt".format(CACHEDIR)
|
||||
|
||||
# Header is like:
|
||||
#
|
||||
#Message-Id: <{messageId}>
|
||||
#Date: {date}
|
||||
#From: {name} <{email}>
|
||||
#To: {mailinglist}
|
||||
#Cc: {ccList}
|
||||
#Subject: [ANNOUNCE] upcoming offlineimap v{expectedVersion}
|
||||
# Message-Id: <{messageId}>
|
||||
# Date: {date}
|
||||
# From: {name} <{email}>
|
||||
# To: {mailinglist}
|
||||
# Cc: {ccList}
|
||||
# Subject: [ANNOUNCE] upcoming offlineimap v{expectedVersion}
|
||||
#
|
||||
## Notes
|
||||
#
|
||||
#I think it's time for a new release.
|
||||
# I think it's time for a new release.
|
||||
#
|
||||
#I aim to make the new release in one week, approximately. If you'd like more
|
||||
#time, please let me know. ,-)
|
||||
# I aim to make the new release in one week, approximately. If you'd like more
|
||||
# time, please let me know. ,-)
|
||||
#
|
||||
#Please, send me a mail to confirm it works for you. This will be written in the
|
||||
#release notes and the git logs.
|
||||
# Please, send me a mail to confirm it works for you. This will be written in the
|
||||
# release notes and the git logs.
|
||||
#
|
||||
#
|
||||
## Authors
|
||||
|
Loading…
Reference in New Issue
Block a user