Download:
child 65:8d903e0972d8
parent 63:8550f1a5ad61
64:e7239f626bf2
Anton Shestakov <av6@dwimlabs.net>, Mon, 18 Jul 2016 18:45:54 +0800
viewer: pass marks to getresults() as a positional argument

1 файлов изменено, 3 вставок(+), 3 удалений(-) [+]
viewer.py file | annotate | diff | comparison | revisions
--- a/viewer.py Mon Jul 18 18:44:12 2016 +0800
+++ b/viewer.py Mon Jul 18 18:45:54 2016 +0800
@@ -139,7 +139,7 @@
self.set_header('Content-Type', 'text/plain; charset=UTF-8')
changesets = self.getchangesets()
marks, _ = self.getmarks()
- results, _ = self.getresults(changesets, marks=marks, colors=False)
+ results, _ = self.getresults(changesets, marks, colors=False)
self.write('rev\tnode')
for mark in marks:
self.write('\t{0} (without cache)\t{0} (with cache)'.format(mark))
@@ -231,7 +231,7 @@
changesets = self.getchangesets()
marks, moremarks = self.getmarks()
local = self.get_argument('local', False)
- results, colormap = self.getresults(changesets, marks=marks, local=local)
+ results, colormap = self.getresults(changesets, marks, local=local)
context = {
'changesets': changesets,
'marks': marks,
@@ -249,7 +249,7 @@
def fancy_html(self):
changesets = self.getchangesets()
marks, moremarks = self.getmarks()
- results, _ = self.getresults(changesets, marks=marks, colors=False)
+ results, _ = self.getresults(changesets, marks, colors=False)
json = []
csetmap = {}
for cset in changesets: