unify the format of changelog entry
authorZhang Qiang <qiang.z.zhang@intel.com>
Tue, 7 Aug 2012 07:38:35 +0000 (15:38 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Thu, 9 Aug 2012 01:55:05 +0000 (09:55 +0800)
gitbuildsys/cmd_changelog.py

index a6bf32c..178087e 100644 (file)
@@ -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"),