Bladeren bron

prepend to insert

Schultz 8 jaren geleden
bovenliggende
commit
7d75ec9e8c
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Bestand weergeven

@@ -1023,7 +1023,7 @@ class HTMLReportCreator(ReportCreator):
1023 1023
             f.write('<p class="moreauthors">Only top %d authors shown</p>' % conf['max_authors'])
1024 1024
 
1025 1025
         authorsHEADERS=[str(author) for author in allauthors]
1026
-        authorsHEADERS.prepend("date")
1026
+        authorsHEADERS.insert(0,"date")
1027 1027
 
1028 1028
         # writes headers for both files, should have the same file
1029 1029
         writeHeaderstoNewTSV("FlaskTest/static/data/lines_of_code_by_author_TEST.tsv",authorsHEADERS)