Enabled use of AttrDict
authorJoshua Kugler <joshua@azariah.com>
Sat, 9 Jul 2011 04:32:14 +0000 (20:32 -0800)
committerJoshua Kugler <joshua@azariah.com>
Sat, 9 Jul 2011 04:32:14 +0000 (20:32 -0800)
apachelog.py

index 9b1f8dc2ba8e32ed52d5de83c1a6c58e8d23a43a..77af501ba63a45bb9d87f890f060e2ea7adc70b5 100755 (executable)
@@ -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