From 21be54675fd9ea12536cbe0e0e1aca5ae0156550 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Tue, 21 Jun 2016 18:29:59 +0200 Subject: [PATCH] add proper func-doc to tsstats.log.parse_logs --- tsstats/log.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tsstats/log.py b/tsstats/log.py index e24c3a5..b76cb3f 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -30,6 +30,15 @@ logger = logging.getLogger('tsstats') def parse_logs(log_glob, ident_map=None, *args, **kwargs): ''' parse logs from `log_glob` + + :param log_glob: path to server-logs (supports globbing) + :param ident_map: identmap used for Client-initializations + + :type log_glob: str + :type ident_map: dict + + :return: clients bundled by virtual-server + :rtype: dict ''' vserver_clients = {} for virtualserver_id, logs in\