Преглед изворни кода

commenting out uneccessary

Schultz пре 8 година
родитељ
комит
55e70ce843
1 измењених фајлова са 7 додато и 7 уклоњено
  1. 7
    7
      gitstats

+ 7
- 7
gitstats Прегледај датотеку

@@ -1000,7 +1000,7 @@ class HTMLReportCreator(ReportCreator):
1000 1000
 
1001 1001
         # Authors :: List of authors
1002 1002
         f.write(html_header(2, 'List of Authors'))
1003
-        authors_file= open(path + "/authors.tsv","w")
1003
+        authors_file= open(path     + "/authors.tsv","w")
1004 1004
 
1005 1005
         f.write('<table class="authors sortable" id="authors">')
1006 1006
         f.write('<tr><th>Author</th><th>Commits (%)</th><th>+ lines</th><th>- lines</th><th>First commit</th><th>Last commit</th><th class="unsortable">Age</th><th>Active days</th><th># by commits</th></tr>')
@@ -1050,8 +1050,8 @@ class HTMLReportCreator(ReportCreator):
1050 1050
             fgl.write('%d' % stamp)
1051 1051
             fgc.write('%d' % stamp)
1052 1052
 
1053
-            hour_of_week_TEST.write("%d\t" %(stamp))
1054
-            commits_by_author_TEST.write("%d\t" %(stamp))
1053
+            # hour_of_week_TEST.write("%d\t" %(stamp))
1054
+            # commits_by_author_TEST.write("%d\t" %(stamp))
1055 1055
 
1056 1056
             for author in self.authors_to_plot:
1057 1057
                 if author in data.changes_by_date_by_author[stamp].keys():
@@ -1060,11 +1060,11 @@ class HTMLReportCreator(ReportCreator):
1060 1060
                 fgl.write(' %d' % lines_by_authors[author])
1061 1061
                 fgc.write(' %d' % commits_by_authors[author])
1062 1062
 
1063
-                hour_of_week_TEST.write("%d\t" % lines_by_authors[author] )
1064
-                commits_by_author_TEST.write("%d\t" % commits_by_authors[author] )
1063
+            #     hour_of_week_TEST.write("%d\t" % lines_by_authors[author] )
1064
+            #     commits_by_author_TEST.write("%d\t" % commits_by_authors[author] )
1065 1065
 
1066
-            hour_of_week_TEST.write("\n")
1067
-            commits_by_author_TEST.write("\n")
1066
+            # hour_of_week_TEST.write("\n")
1067
+            # commits_by_author_TEST.write("\n")
1068 1068
 
1069 1069
             fgl.write('\n')
1070 1070
             fgc.write('\n')