[empathy] release.py: draw a 'line' of the length of the title
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] release.py: draw a 'line' of the length of the title
- Date: Mon, 29 Mar 2010 12:34:08 +0000 (UTC)
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]