From 1664fbc2d363426e44b3843ba5894debf76a77ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Sun, 30 May 2010 19:54:58 +0000 Subject: [PATCH] scripts/make-changelog: Replace [at]'s with @ char and use tab char for indentation --- scripts/make-changelog.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/make-changelog.py b/scripts/make-changelog.py index b648877c..f022e058 100755 --- a/scripts/make-changelog.py +++ b/scripts/make-changelog.py @@ -20,6 +20,7 @@ def get_author_name_mail(author): continue account, name, mail, jabber = line.split(":") + mail = mail.replace(" [at] ", "@") authors[account] = "%s <%s>" % (name, mail) return authors[author] @@ -59,11 +60,10 @@ def create_log_entry(author, date, msg): author = get_author_name_mail(author) date = date.split("T", 1)[0] - indentation = " " * 8 lines = msg.splitlines() lines = cleanup_msg_lines(lines) - lines[0] = "%s* %s" % (indentation, lines[0]) - msg = ("\n%s" % indentation).join(lines) + lines[0] = "\t* %s" % lines[0] + msg = "\n\t".join(lines) msg = strip_empty_lines(msg) entry = "%s %s\n%s" % (date, author, msg)