Commit 24b0a51c authored by Vincent Pelletier's avatar Vincent Pelletier

Drop unused property.

parent 8cde1631
......@@ -248,7 +248,6 @@ class GenericSiteStats(object):
self.threshold = threshold
self.suffix = suffix
self.error_detail = error_detail
self.getDuration = getDuration
self.status = defaultdict(partial(defaultdict, int))
if error_detail:
self.error_url_count = defaultdict(partial(defaultdict, list))
......@@ -256,7 +255,6 @@ class GenericSiteStats(object):
self.apdex = defaultdict(partial(APDEXStats, threshold, getDuration))
def rescale(self, convert, getDuration):
self.getDuration = getDuration
for status, date_dict in self.status.iteritems():
new_date_dict = defaultdict(int)
for date, status_count in date_dict.iteritems():
......
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