]> git.0d.be Git - empathy.git/commitdiff
release.py: draw a 'line' of the length of the title
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 29 Mar 2010 12:16:25 +0000 (14:16 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 29 Mar 2010 12:16:25 +0000 (14:16 +0200)
release.py

index d5a4c92d2c316bf085ab96b7c4ac19320a33fea8..b0491b713b10c9d37211c539360ac76066b20711 100755 (executable)
@@ -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 != '':