Module: check_mk
Branch: master
Commit: dc379ab5f1a6eb60ea6850ffe0ab9236df03ecb7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dc379ab5f1a6eb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Sep 8 12:18:14 2011 +0200
Fixed problem with first log entry in wato changelog
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index a1bd72a..3eaee89 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -1745,7 +1745,7 @@ def paged_log(log):
break
if last_log_index is None:
- last_log_index = len(log) - 1
+ last_log_index = len(log)
return log[first_log_index:last_log_index], (start_time, end_time, previous_log_time,
next_log_time)