From: Joshua Kugler Date: Sat, 9 Jul 2011 04:32:14 +0000 (-0800) Subject: Enabled use of AttrDict X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=436195e5daa0d82b0d0b3074a68cd29a8293f366;p=apachelog.git Enabled use of AttrDict --- 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