1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Switch to StatsClient from StatsClientBase

So as not to use a purely abstract class
This commit is contained in:
Matthew Jones 2016-01-29 16:27:32 -05:00
parent c2875c65ca
commit 96b754c5ec

View File

@ -56,9 +56,9 @@ if os.environ.get('GRAPHITE_PORT_8125_UDP_ADDR'):
prefix='tower.job.event_callback',
maxudpsize=512)
else:
from statsd.client import StatsClientBase
from statsd import StatsClient
class NoStatsClient(StatsClientBase):
class NoStatsClient(StatsClient):
def __init__(self, *args, **kwargs):
pass