diff scripts/contributors.py @ 7051:519cc743bf5a

Make contributers.py work. check_output needed shell=True. Also fix aliases for myself.
author John Rouillard <rouilj@ieee.org>
date Tue, 15 Nov 2022 22:49:36 -0500
parents ce171c81d823
children 4919435ac231
line wrap: on
line diff
--- a/scripts/contributors.py	Tue Nov 15 22:07:27 2022 -0500
+++ b/scripts/contributors.py	Tue Nov 15 22:49:36 2022 -0500
@@ -28,8 +28,9 @@
       ['Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>'],
   'Stefan Seefeld <stefan@seefeld.name>':
       ['Stefan Seefeld <stefan@users.sourceforge.net>'],
-  'John P. Rouillard <rouilj@cs.umb.edu>':
-      ['rouilj'],
+  'John Rouillard <rouilj@ieee.org>':
+      ['rouilj@uland', 'rouilj']
+
 }
 ROBOTS = ['No Author <no-author@users.sourceforge.net>']
 # /-- 
@@ -78,9 +79,14 @@
 
 
 if __name__ == '__main__':
+
+  command = 'hg log --template "{date(date,\\"%Y\\")},{author}\\n"'
+
   if verbose:
     print("Getting HG log...")
-  authorship = check_output('hg log --template "{date(date,\\"%Y\\")},{author}\n"')
+    print("Using: ", command)
+  
+  authorship = check_output(command, shell=True)
   # authorship are strings like
   # 2003,Richard Jones <richard@users.sourceforge.net>
   # ...

Roundup Issue Tracker: http://roundup-tracker.org/