Explorar el Código

prepend to insert

Schultz hace 8 años
padre
commit
7d75ec9e8c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Ver fichero

@@ -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)