--- a/candolint/handlers.py Tue Nov 28 11:56:47 2017 +0800
+++ b/candolint/handlers.py Tue Nov 28 11:58:11 2017 +0800
history = list(reversed(checks
.offset(max(0, more - limit))))
- 'errors': c.errors if c.success else None,
- 'warnings': c.warnings if c.success else None,
- 'duration': int((c.finished - c.started).total_seconds())
- 'current': check.ordinal,
- 'projectURL': check.project.get_url()
+ 'errors': c.errors if c.success else None,
+ 'warnings': c.warnings if c.success else None,
+ 'duration': int((c.finished - c.started).total_seconds())
+ 'current': check.ordinal,
+ 'projectURL': check.project.get_url()
def get_files_and_codes(self, check, lines):
if not check.success or not (check.errors or check.warnings):