We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a9cb54 commit 47ca0cdCopy full SHA for 47ca0cd
extra/make-changelog.py
@@ -1,11 +1,12 @@
1
#!/usr/bin/python
2
# -*- encoding: utf-8 -*-
3
4
-import git
5
-import sys
6
from collections import defaultdict
7
-from textwrap import wrap
8
from email.utils import formatdate
+import sys
+from textwrap import wrap
+
9
+import git
10
11
repo = git.Repo('.')
12
changelog = defaultdict(list)
@@ -20,7 +21,8 @@
20
21
for author in sorted(changelog.keys()):
22
print(' [ %s ]' % author)
23
for log in changelog[author]:
- print('\n'.join(wrap(log, initial_indent=' * ', subsequent_indent=' ')))
24
+ print('\n'.join(
25
+ wrap(log, initial_indent=' * ', subsequent_indent=' ')))
26
print('')
27
28
print(' -- David Paleino <d.paleino@gmail.com> ', formatdate(localtime=True))
0 commit comments