From: Zhang Qiang Date: Tue, 7 Aug 2012 07:38:35 +0000 (+0800) Subject: unify the format of changelog entry X-Git-Tag: 0.9~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8b37c187f34751df50e565edcb1f6ee69258931;p=tools%2Fgbs.git unify the format of changelog entry --- diff --git a/gitbuildsys/cmd_changelog.py b/gitbuildsys/cmd_changelog.py index a6bf32c..178087e 100644 --- a/gitbuildsys/cmd_changelog.py +++ b/gitbuildsys/cmd_changelog.py @@ -137,7 +137,7 @@ def do(opts, _args): if opts.message: author = repo.get_author_info() - lines = [" -%s" % line for line in opts.message.split(os.linesep) \ + lines = ["- %s" % line for line in opts.message.split(os.linesep) \ if line.strip()] new_entries = ["* %s %s <%s> %s" % \ (datetime.datetime.now().strftime("%a %b %d %Y"),