Fixed pep8 issues and hostname in the test environment.

This commit is contained in:
Martyn Inglis
2016-05-13 17:20:29 +01:00
parent 3f7559b286
commit 829d862739
4 changed files with 6 additions and 20 deletions

View File

@@ -19,8 +19,7 @@ class StatsdClient(StatsClient):
if self.active:
super(StatsClient, self).timing(stat, delta, rate)
def timing_with_dates(self, stat, start, end, rate=1):
if self.active:
delta = (start - end).total_seconds() * 1000
super(StatsClient, self).timing(stat, delta, rate)
super(StatsClient, self).timing(stat, delta, rate)