Fix not using defined variable for match-access
possibly leading to slower access-times
This commit is contained in:
parent
4b261ed321
commit
8d18b9c4ae
|
@ -94,7 +94,7 @@ def _bundle_logs(logs):
|
|||
key=lambda tl: tl.timestamp)
|
||||
else:
|
||||
# if not exists, just create a list
|
||||
vserver_logfiles[match['sid']] = [tl]
|
||||
vserver_logfiles[sid] = [tl]
|
||||
else:
|
||||
# fallback to plain sorting
|
||||
vserver_logfiles.setdefault('', [])\
|
||||
|
|
Loading…
Reference in New Issue