Download:
parent 2:02c80a0ce839
3:e30c88afe8aa draft default tip
Anton Shestakov <av6@dwimlabs.net>, Sun, 12 Nov 2017 14:28:14 +0800
level0lify: skip invisible items

1 файлов изменено, 2 вставок(+), 0 удалений(-) [+]
diff.py file | annotate | diff | comparison | revisions
--- a/diff.py Sun Nov 12 14:23:59 2017 +0800
+++ b/diff.py Sun Nov 12 14:28:14 2017 +0800
@@ -104,6 +104,8 @@
if new > 1:
todo.insert(0, (a, old))
for lines, version in todo:
+ if versions[version]['attrs']['visible'] != 'true':
+ continue
lines.append('')
lines.append('{} {}'.format(kind, id))
lines += [