Skip to content

Commit 8c1e096

Browse files
committed
Make contributers.py work.
check_output needed shell=True. Also fix aliases for myself.
1 parent ea9c08e commit 8c1e096

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

scripts/contributors.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@
2828
['Ralf Schlatterbeck <[email protected]>'],
2929
'Stefan Seefeld <[email protected]>':
3030
['Stefan Seefeld <[email protected]>'],
31-
'John P. Rouillard <[email protected]>':
32-
['rouilj'],
31+
'John Rouillard <[email protected]>':
32+
['rouilj@uland', 'rouilj']
33+
3334
}
3435
ROBOTS = ['No Author <[email protected]>']
3536
# /--
@@ -78,9 +79,14 @@ def compress(years):
7879

7980

8081
if __name__ == '__main__':
82+
83+
command = 'hg log --template "{date(date,\\"%Y\\")},{author}\\n"'
84+
8185
if verbose:
8286
print("Getting HG log...")
83-
authorship = check_output('hg log --template "{date(date,\\"%Y\\")},{author}\n"')
87+
print("Using: ", command)
88+
89+
authorship = check_output(command, shell=True)
8490
# authorship are strings like
8591
# 2003,Richard Jones <[email protected]>
8692
# ...

0 commit comments

Comments
 (0)