diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-29 20:16:25 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-29 20:16:25 +0800 |
commit | f468e66e0f35532de89ffd072828ea26d496090d (patch) | |
tree | 77595f9a95877465899e851fb2e9d843762c6166 /release.py | |
parent | 8a7843d2d137f6bd8ca336b79226b7e7a9d79bfa (diff) | |
download | gsoc2013-empathy-f468e66e0f35532de89ffd072828ea26d496090d.tar gsoc2013-empathy-f468e66e0f35532de89ffd072828ea26d496090d.tar.gz gsoc2013-empathy-f468e66e0f35532de89ffd072828ea26d496090d.tar.bz2 gsoc2013-empathy-f468e66e0f35532de89ffd072828ea26d496090d.tar.lz gsoc2013-empathy-f468e66e0f35532de89ffd072828ea26d496090d.tar.xz gsoc2013-empathy-f468e66e0f35532de89ffd072828ea26d496090d.tar.zst gsoc2013-empathy-f468e66e0f35532de89ffd072828ea26d496090d.zip |
release.py: draw a 'line' of the length of the title
Diffstat (limited to 'release.py')
-rwxr-xr-x | release.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release.py b/release.py index d5a4c92d2..b0491b713 100755 --- a/release.py +++ b/release.py @@ -219,7 +219,9 @@ class Project: " - Updated %s Documentation translation (%s)\n") bugs = self.get_bugs() - news = 'NEW in '+ self.package_version + '\n==============\n' + news = 'NEW in '+ self.package_version + line = '=' * len(news) + news += '\n%s\n' % line if bugs != '': news += 'Bugs fixed:\n' + bugs + '\n' if translations != '': |