Download:
child 6:fc1f2fd5d553
parent 4:062c539f02c4
5:d8052e876798
Anton Shestakov <engored@ya.ru>, Sat, 02 May 2015 18:03:17 +0800
viewer: header in tsv

1 файлов изменено, 3 вставок(+), 0 удалений(-) [+]
viewer.py file | annotate | diff | comparison | revisions
--- a/viewer.py Sat May 02 17:30:49 2015 +0800
+++ b/viewer.py Sat May 02 18:03:17 2015 +0800
@@ -75,6 +75,9 @@
def results_tsv(self):
self.set_header('Content-Type', 'text/plain; charset=UTF-8')
changesets, results = self.getdata()
+ self.write('rev\tnode\t')
+ self.write('\t'.join(MARKS.keys()))
+ self.write('\n')
for cset in changesets:
self.write('%(rev)s\t%(node)s\t' % cset)
self.write('\t'.join(