From a65bb278b4468d68c582183ca13b18b5ace953a6 2013-08-02 21:48:44 From: MinRK Date: 2013-08-02 21:48:44 Subject: [PATCH] remove quotes from github_stats --- diff --git a/tools/github_stats.py b/tools/github_stats.py index a6ed9a8..cc1072b 100755 --- a/tools/github_stats.py +++ b/tools/github_stats.py @@ -180,7 +180,7 @@ if __name__ == "__main__": cmd = ['git', 'log', '--oneline', since_tag] ncommits = len(check_output(cmd).splitlines()) - author_cmd = ['git', 'log', '--use-mailmap', "--format='* %aN'", since_tag] + author_cmd = ['git', 'log', '--use-mailmap', "--format=* %aN", since_tag] all_authors = check_output(author_cmd).decode('utf-8', 'replace').splitlines() unique_authors = sorted(set(all_authors), key=lambda s: s.lower()) print("The following %i authors contributed %i commits." % (len(unique_authors), ncommits))