##// END OF EJS Templates
remove quotes from github_stats
MinRK -
Show More
@@ -180,7 +180,7 b' if __name__ == "__main__":'
180 cmd = ['git', 'log', '--oneline', since_tag]
180 cmd = ['git', 'log', '--oneline', since_tag]
181 ncommits = len(check_output(cmd).splitlines())
181 ncommits = len(check_output(cmd).splitlines())
182
182
183 author_cmd = ['git', 'log', '--use-mailmap', "--format='* %aN'", since_tag]
183 author_cmd = ['git', 'log', '--use-mailmap', "--format=* %aN", since_tag]
184 all_authors = check_output(author_cmd).decode('utf-8', 'replace').splitlines()
184 all_authors = check_output(author_cmd).decode('utf-8', 'replace').splitlines()
185 unique_authors = sorted(set(all_authors), key=lambda s: s.lower())
185 unique_authors = sorted(set(all_authors), key=lambda s: s.lower())
186 print("The following %i authors contributed %i commits." % (len(unique_authors), ncommits))
186 print("The following %i authors contributed %i commits." % (len(unique_authors), ncommits))
General Comments 0
You need to be logged in to leave comments. Login now