瀏覽代碼

prepend to insert

Schultz 8 年之前
父節點
當前提交
7d75ec9e8c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      gitstats

+ 1
- 1
gitstats 查看文件

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