File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 5
5
import sys
6
6
from collections import defaultdict
7
7
from textwrap import wrap
8
- from email .Utils import formatdate
8
+ from email .utils import formatdate
9
9
10
10
repo = git .Repo ('.' )
11
11
changelog = defaultdict (list )
14
14
commit = repo .commit (id )
15
15
changelog [commit .author .name ].append (commit .summary )
16
16
17
- print 'bash-completion (X.Y)'
18
- print
17
+ print ( 'bash-completion (X.Y)' )
18
+ print ( '' )
19
19
20
20
for author in sorted (changelog .keys ()):
21
- print " [ %s ]" % author
21
+ print ( ' [ %s ]' % author )
22
22
for log in changelog [author ]:
23
- print '\n ' .join (wrap (log , initial_indent = ' * ' , subsequent_indent = ' ' ))
24
- print
23
+ print ( '\n ' .join (wrap (log , initial_indent = ' * ' , subsequent_indent = ' ' ) ))
24
+ print ( '' )
25
25
26
- print ' -- David Paleino <d.paleino@gmail.com> ' , formatdate (localtime = True )
26
+ print ( ' -- David Paleino <d.paleino@gmail.com> ' , formatdate (localtime = True ) )
You can’t perform that action at this time.
0 commit comments