projects
/
apachelog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fbd116
)
Enabled use of AttrDict
author
Joshua Kugler
<joshua@azariah.com>
Sat, 9 Jul 2011 04:32:14 +0000
(20:32 -0800)
committer
Joshua Kugler
<joshua@azariah.com>
Sat, 9 Jul 2011 04:32:14 +0000
(20:32 -0800)
apachelog.py
patch
|
blob
|
history
diff --git
a/apachelog.py
b/apachelog.py
index 9b1f8dc2ba8e32ed52d5de83c1a6c58e8d23a43a..77af501ba63a45bb9d87f890f060e2ea7adc70b5 100755
(executable)
--- 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