add glob-resolution to tsstats.log.parse_logs
* correct name of bundle-function (to tsstats.log._bundle_logs) * add .items() to correct for-loop
This commit is contained in:
parent
9a6bbe4f3e
commit
c0f1a6c649
|
@ -32,7 +32,8 @@ def parse_logs(log_glob):
|
|||
parse logs from `log_glob`
|
||||
'''
|
||||
vserver_clients = {}
|
||||
for virtualserver_id, logs in _sort_logfiles(log_glob):
|
||||
for virtualserver_id, logs in\
|
||||
_bundle_logs(log_file for log_file in glob(log_glob)).items():
|
||||
clients = Clients()
|
||||
for log in logs:
|
||||
_parse_details(clients=clients)
|
||||
|
|
Loading…
Reference in New Issue