mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-29 12:13:37 -05:00
Switch to StatsClient from StatsClientBase
So as not to use a purely abstract class
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user