--- a/viewer.py Sat Feb 06 20:46:27 2016 +0800
+++ b/viewer.py Sat Feb 06 20:47:42 2016 +0800
self.set_header('Content-Type', 'text/plain; charset=UTF-8')
changesets = self.getchangesets()
- results, _ = self.getresults(changesets, MARKS, colors=False)
+ marks, _ = self.getmarks()
+ results, _ = self.getresults(changesets, marks=marks, colors=False)
self.write('\t{0} (without cache)\t{0} (with cache)'.format(mark))
self.write('{rev}\t{node}'.format(**cset))
- marks = results.get(cset['node'], {}).get(mark, ('', '', ''))
- self.write('\t{0}\t{2}'.format(*marks))
+ values = results.get(cset['node'], {}).get(mark, ('', '', ''))
+ self.write('\t{0}\t{2}'.format(*values))