Commit 580a24eb authored by Vincent Pelletier's avatar Vincent Pelletier

Drop stale support for missing duration.

parent 72dab44a
......@@ -133,10 +133,8 @@ class GenericSiteStats(object):
def accumulate(self, match, url_match, date):
self.status[match.group('status')][date] += 1
duration = match.group('duration')
self.apdex[date].accumulate(match)
if duration is not None:
duration = int(duration)
duration = int(match.group('duration'))
if url_match is None:
url = match.group('request')
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment