Schultz 8 лет назад
Родитель
Сommit
f4dd278434
1 измененных файлов: 4 добавлений и 3 удалений
  1. 4
    3
      gitstats

+ 4
- 3
gitstats Просмотреть файл

@@ -1031,6 +1031,7 @@ class HTMLReportCreator(ReportCreator):
1031 1031
         fgc = open(path + '/commits_by_author.dat', 'w')
1032 1032
 
1033 1033
 
1034
+
1034 1035
         lines_by_authors = {} # cumulated added lines by
1035 1036
         # author. to save memory,
1036 1037
         # changes_by_date_by_author[stamp][author] is defined
@@ -1051,7 +1052,7 @@ class HTMLReportCreator(ReportCreator):
1051 1052
             fgc.write('%d' % stamp)
1052 1053
 
1053 1054
             hour_of_week_TEST.write("%d\t" %(stamp))
1054
-            commits_by_author_TEST.write("%d\t" %(stamp))
1055
+            # commits_by_author_TEST.write("%d\t" %(stamp))
1055 1056
 
1056 1057
             for author in self.authors_to_plot:
1057 1058
                 if author in data.changes_by_date_by_author[stamp].keys():
@@ -1061,10 +1062,10 @@ class HTMLReportCreator(ReportCreator):
1061 1062
                 fgc.write(' %d' % commits_by_authors[author])
1062 1063
 
1063 1064
                 hour_of_week_TEST.write("%d\t" % lines_by_authors[author] )
1064
-                commits_by_author_TEST.write("%d\t" % commits_by_authors[author] )
1065
+                # commits_by_author_TEST.write("%d\t" % commits_by_authors[author] )
1065 1066
 
1066 1067
             hour_of_week_TEST.write("\n")
1067
-            commits_by_author_TEST.write("\n")
1068
+            # commits_by_author_TEST.write("\n")
1068 1069
 
1069 1070
             fgl.write('\n')
1070 1071
             fgc.write('\n')