0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 17:13:54 +01:00

Kill unused CounterMetric.fetch() method

This commit is contained in:
Paul "LeoNerd" Evans 2015-03-06 17:08:25 +00:00
parent b0cf867319
commit 22b37b75db

View file

@ -73,9 +73,6 @@ class CounterMetric(BaseMetric):
else:
self.counts[values] += 1
def fetch(self):
return dict(self.counts)
def render_item(self, k):
return ["%s%s %d" % (self.name, self._render_key(k), self.counts[k])]