Download:
child 9:95a9dbed32a6
parent 7:d2441d0f1501
8:b46f133a82ab
Anton Shestakov <engored@ya.ru>, Tue, 05 May 2015 23:19:13 +0800
viewer: only show time without cache in .asc (graph) view

1 файлов изменено, 3 вставок(+), 1 удалений(-) [+]
viewer.py file | annotate | diff | comparison | revisions
--- a/viewer.py Mon May 04 18:16:54 2015 +0800
+++ b/viewer.py Tue May 05 23:19:13 2015 +0800
@@ -101,7 +101,9 @@
matches = regex.findall(line)
for match in matches:
msg = []
- rows = self.conn.execute('SELECT mark, time FROM results WHERE node = ?', (match,))
+ rows = self.conn.execute(
+ 'SELECT mark, time FROM results WHERE node = ? AND cache = ?',
+ (match, False))
for row in rows:
msg.append('{}: {:.2g}s'.format(*row))
line = line.replace(match, ' '.join(msg))