From 436195e5daa0d82b0d0b3074a68cd29a8293f366 Mon Sep 17 00:00:00 2001 From: Joshua Kugler Date: Fri, 8 Jul 2011 20:32:14 -0800 Subject: [PATCH] Enabled use of AttrDict --- apachelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apachelog.py b/apachelog.py index 9b1f8dc..77af501 100755 --- a/apachelog.py +++ b/apachelog.py @@ -288,7 +288,7 @@ class parser: match = self._regex.match(line) if match: - data = {} + data = AttrDict() for k, v in zip(self._names, match.groups()): data[k] = v return data -- 2.26.2