From 61421c588a3bedcb7d99236ee9a3caff730d76b0 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Thu, 19 May 2016 21:46:22 +0200 Subject: [PATCH] use None as default for ident_map in tsstats.log.parse_logs --- tsstats/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsstats/log.py b/tsstats/log.py index 8428b4b..a026833 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -14,7 +14,7 @@ re_disconnect_invoker = re.compile( logger = logging.getLogger('tsstats') -def parse_logs(log_path, ident_map={}): +def parse_logs(log_path, ident_map=None): clients = Clients(ident_map) # find all log-files and open them TODO: move this into main