[empathy] release.py: draw a 'line' of the length of the title



commit f468e66e0f35532de89ffd072828ea26d496090d
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Mar 29 14:16:25 2010 +0200

    release.py: draw a 'line' of the length of the title

 release.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/release.py b/release.py
index d5a4c92..b0491b7 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 != '':



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]