- header = "%s %s <%s>" % (
- time.strftime("%Y-%m-%d %H:%M:%S UTC", commit.authored_date),
- commit.author.name,
- commit.author.email
- )
- comments = ""
- for line in commit.message.split("\n")[1:]:
- if line: line = "\t%s" % line
- if line.startswith("\t*"): line = "\n%s" % line
- comments += "%s\n" % line
- generated += "%s\n%s\n" % ( header, comments)
-print( "%s%s%s" % (generated, copyright, emacsinfo) )
+ header = "%s %s <%s>" % (
+ time.strftime("%Y-%m-%d %H:%M:%S UTC", commit.authored_date),
+ commit.author.name,
+ commit.author.email
+ )
+ comments = ""
+ for line in commit.message.split("\n")[1:]:
+ if line:
+ line = "\t%s" % line
+ if line.startswith("\t*"):
+ line = "\n%s" % line
+ comments += "%s\n" % line
+ generated += "%s\n%s\n" % (header, comments)
+print("%s%s%s" % (generated, copyright, emacsinfo))