mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Fix spelling mistakes in variable names
Thanks, codespell!
This commit is contained in:
parent
8713eb3722
commit
f776b7e04f
5 changed files with 19 additions and 19 deletions
|
@ -46,9 +46,9 @@ else:
|
|||
log = logs[i]
|
||||
error_count = 0
|
||||
for line in file(log):
|
||||
splitted = line.split()
|
||||
if 'ConflictError' in splitted:
|
||||
logdate = datetime(*time.strptime(splitted[0], date_format)[:-3])
|
||||
tokens = line.split()
|
||||
if 'ConflictError' in tokens:
|
||||
logdate = datetime(*time.strptime(tokens[0], date_format)[:-3])
|
||||
delta = datetime.now() - logdate
|
||||
if delta.days >= 1:
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue